Hello,
I built custom buttons to apply a css style. For the most part I'm using the mostly undocumentet style class.
The problem i have now is, when you press "Source" twice, the styles get discarded.
I don't have enough knowledge about the editor to see the problem. I thought it was the automatic filtering of HTML (ACV?) which i tried to disable
CKEDITOR.config.allowedContent = true;
Which didn't work.
I just need a direction in which to search, because i don't have a clue.
Thank you for your time.
Here's my Project: http://colz.de/cke/
The code of the module i wrote is here: http://colz.de/cke/ckeditor/plugins/appolloButtons/plugin.js
bump :(
bump :(
The search in this board is absolutely useless. Giving results between 2009-2013 randomly und having no filter options
I don't see the
I don't see the
line in your config.js, maybe you have forgot to upload the changes?
That's it!
That's it!
I wrote the line into my plugin.js with
CKEDITOR.onfig.allowedContent = true;
instead of config.js; shit's working now, thanks for your help!
Adding that line in your
Adding that line in your plugin it's too late and that's why it didn't work for you previously.
The editor has already started loading so it has its own config object and further changes that you do to the global CKEDITOR.config object will be ignored. You can use instead the config object of the editor if you want to do that in your plugin instead of the config.js file.