Upgraded CKEditor to version 4. It's very nice, especially inline editing. It's how I originally imagined editing would work in dobrado, so I'm glad I finally got around to it. Some other nice things are: access to the native spell checker, which I always wished was available in older versions, and the autogrow plugin. I had to make a few changes, namely supporting my file browser module, but it's the same change as was required in the previous version, which is handy. Also there was a function on the editor instance called addCss which is now on the CKEDITOR parent object, no problem with that except you can't clear the rules you applied, so new editor instances would get styles you meant for previous editors. I just added another function called clearCss which fixes that.

I've also added HTMLPurifier, which is working well. Sanitizing input has been another thing on the to do list for a long time, and becoming more necessary with more accounts being created.
likesharereplyWant to share this? Click to choose a site:settings
Add a comment