Apparently the trick was to not add the setting to the config.js file, but instead add it directly where I call CKEDITOR.replace on the textarea.
This begs the question however, how does one know if a setting can be done in the config.js file or when it has to be added to the CKEDITOR.replace call?
I still have issues with this, despite turning off ACF.
I am not able to post an example as I am getting a "your post has been marked as spam" - please help, I am getting customer complaints about this issue.
ACF might stripping the code.
ACF might stripping the code. Read this...
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
I've tried to disable in
I've tried to disable in config.js (see below), but there is no change - am I doing it right?
CKEDITOR.editorConfig = function( config ) {
config.defaultLanguage = 'en';
config.skin = 'kama';
config.width = 450;
config.height = 250;
config.enterMode = CKEDITOR.ENTER_BR;
config.shiftEnterMode = CKEDITOR.ENTER_BR;
config.toolbarCanCollapse = true;
config.toolbarStartupExpanded = false;
config.allowContent = true;
};
if it helps any, this whole
if it helps any, this whole block also disappears;
Apparently the trick was to
Apparently the trick was to not add the setting to the config.js file, but instead add it directly where I call CKEDITOR.replace on the textarea.
This begs the question however, how does one know if a setting can be done in the config.js file or when it has to be added to the CKEDITOR.replace call?
It should be:
In your config.js code, it should be:
Not config.allowContent = true; (missing "ed" in allow)
And clear your cache. :) Now the question is, if you're using allowContent in replace, why is it working?
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
I still have issues with this
I still have issues with this, despite turning off ACF.
I am not able to post an example as I am getting a "your post has been marked as spam" - please help, I am getting customer complaints about this issue.