The forum operates in read-only mode. Please head to StackOverflow for support.
Hi all,
I am using Ckeditor 4.1.2. When I add editor with content "<div style="font-size:30px">ABC</div>'.
I preview ok but when I submit form, ckeditor remove tag style in content. Please help me fix this error
Thanks.
It might be caused by the Advanced Content Filter. More on this here:
http://docs.ckeditor.com/#!/guide/dev_advanced_content_filter
Customer and Community Manager, CKSource Follow us on: Facebook, Twitter, LinkedIn If you think you found a bug in CKEditor, read this!
I set config allowedContent: false but I not change
Just to complete this question, you need to set allowedContent to true to allow all content.
So in your config.js:
config.allowedContent=true;
Ya, config.allowedContent = true;
But that should only be used to see if ACF is the cause. You should configure it later. You shouldn't just turn it off.
It might be caused by the
It might be caused by the Advanced Content Filter. More on this here:
http://docs.ckeditor.com/#!/guide/dev_advanced_content_filter
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
I set config allowedContent:
I set config allowedContent: false but I not change
solution
Just to complete this question, you need to set allowedContent to true to allow all content.
So in your config.js:
config.allowedContent=true;
Ya, config.allowedContent =
Ya, config.allowedContent = true;
But that should only be used to see if ACF is the cause. You should configure it later. You shouldn't just turn it off.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!