This is the WYSIWYG Editor for Kirby2. I used the powerful http://ckeditor.com/ for this plugin.
clone inside your project /site/fields/ (maybe rename directory to "ckeditor")
git clone https://github.com/fishme/kirby_ckeditor.git
or download/paste
Still now I did't fix the problem with the .htaccess. That everything is working, you have to turnoff the rule for the site inside the .htaccess (maybe you will have then a security issue, but don't worry I will find a way "in the future")
# block all files in the site folder from being accessed directly
#RewriteRule ^site/(.*) error [R=301,L]
what I need here is an exception for this url "/site/fields/ckeditor/assets/*" If you can fix that, please make a pullrequest.
so back to the description.
How to call the ckeditor inside your blueprint file?
text:
label: Text
type: ckeditor
That was it. :)
To see the editor click inside the Textarea field.
If you want to change the setup from the ckeditor go to the page http://ckeditor.com/download and choose "customize". After the easy setup download the package directly inside /site/ckeditor/assets/js/
I know that Kirby2 works with Markdown and I like that. But in some cases it is necessary to have a simple Visual Editor for HTML Code.
there are some todos :)