Hi,
i'm trying to integrate CKEditor into my qooxdoo project. The integration was allready done by Derrell from qooxdoo for version 3.x.
Now i'm trying to implement the 4.x version. I downloaded the dev-master version and build my own ckeditor.js.
In all of the samples the editor works as it should, i run into a problem when i try to execute commands bold,italic (style commands). After looking into the code and trying to find out why it doesnt work i noticed this:
The commands are loaded correctly to my knowledge. But they are disabled (state=0).
command.enable() didn't help.
I'm asking if anyone knows why these commands are disabled on my side in version 4.x and not in version 3.x. Because of these differences it leads me to belive that something important has changed in CKEditor.
I hope anyone can help, i've been losing my wits with this one.
Thank you,
Defero
Edit:
Commands like Undo/Redo are working just fine
Ok, after looking at the
Ok, after looking at the editor.activeFilter object, i found that there are only were only a couple of commands available.
The solution was to set the allowedContent to true.
Defero
Technically you should define
Technically you should define the allowed content, not turn ACF off. Just out of curiosity, what could have saved you time figuring this out?
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
I haven't looked much into
I haven't looked much into the workings of CKEditor before now and I'll definitely filter some content now that i have the basics working.
I'm not sure what could have help me before i found that commands were being filtered. At that point i didn't know where to look for the problem (in qooxdoo or in the editor) without any errors popping up.
Probably "maybe it's the ACF" answer would help, but that would make it too easy :)