Hi All,
I don't know if i have missed some configuration, but the Font Size and Color missing after submit. For example, i formated some word with font size 28px and red color. When see the source code, it's look <p><span style="color:#FF0000"><span style="font-size:28px"><strong>Test</strong></span></span></p>
I tried to print_r form after submit i got <p><span ><span ><strong>Test</strong></span></span></p>, the color and font size inline style missing.
Any clue or though where the mistake?
Thank you.
Hi Jogi,
Hi Jogi,
can you tell us more about your configuration, and in particular, CKEditor version.
But my first guess would be that you downloaded CKEditor 4.1 (or later), Standard installation package, which does not contain the Font Size and Font Style plugins, and did not adjust Advanced Content Filter settings. ACF then cut out these tags because they do not match your editor configuration.
You can read about ACF in the Developer's Guide or one of the numerous blog posts that were published around the release of CKEditor 4.1.
Try downloading the Full installation package which includes these plugins or create a custom build that would include them. Or adjust your ACF filter to accept these features.
Hope this helps!
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Hi Anna,
Hi Anna,
Thanks for your reply. I am sure download Full installation package. My CKEditor version is CKEditor 4.1.2 (revision d6f1e0e). I also tried to disable ACF
var editor = CKEDITOR.replace( textarea_id, { allowedContent: 'p' } ); and it's now worked too. I got missing inline style after form submit.
Any idea?
If you want to disable
If you want to disable Advanced Content Filter, set CKEDITOR.config.allowedContent to "true" (without quotes). All available editor features should be activated and input data will not be filtered.
Did you check if you have the "font" plugin in the plugins folder?
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Font plugin is missing from plugins folder
I have down loaded the full package of cok editor and the font plugin is still missing. And <font></font> is not showing in my html editor.
Kindly help