Hello,
I currently have FCKEditor version 2.xx on my website. After some hack attempts, I wanted to upgrade to CKEditor. However, after the upgrade, when I go to edit my website the HTML does not look like it does in FCKEditor. No matter what HTML source code I put in there, the HTML gets scrambled. Also, the FCKEditor rendered the HTML correclty (all styles look fine, etc.) however CKEditor renders the same HTML page completely different and scrambled.
I hope I am making myself clear.
Help? Anyone?
Thanks!
As explained in the Upgrading
As explained in the Upgrading from FCKeditor documentation, FCKeditor and CKEditor are two different products. Take a look at the CKEditor 4 documentation and samples; if you have trouble understanding what's going on with the HTML input/output, you will probably need to learn about Advanced Content Filter (see sample here).
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!
Thanks for the reply.
Thanks for the reply.
Yes!! allowedContent: true is the key!
<script>
CKEDITOR.replace( 'editor3', {
allowedContent: true
} );
</script>
That simply turns off ACF. It
That simply turns off ACF. It's recommended to that you properly configure ACF instead of turning it completely off.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Maybe when I have time I will
Maybe when I have time I will do this. Thanks for the advice! :-)
OK, is seems that CKEditor 's
OK, is seems that CKEditor 's WYSIWYG is the culprit in my case.
Here is what is happening:
1) Open CKEditor
2) Click 'SOURCE' button.
3) Paste in my HTML.
4) If I save the page at thsi step all is well. HOWEVER, if I click the 'SOURCE' button again to view the HTML then save the page, the HTML gets scrambled and my code does NOT work.
How can I set it so my code is left completely alone? "allowedContent: true" does not do the trick.
HELP! Thanks!! :-)