Hello,
I have recently switched from FCK to CK editor and I am really happy with it, I do have one question though. Is it possible to change the behavior of the editor on with regard to the creation of <img> tags?
Current output:
<img src="example.png" style="width: 100px; height: 100px;" />
Desired output (FCK style):
<img src="example.png" width="100" height="100" />
Why?
The output of the editor is mailed, and Outlook does not wish to be bothered with things like style, sadly. Therefore I need to insert those width and heights there.
Thanks for any help.
Wed, 11/09/2011 - 11:08
#1
Re: Image width and height
Re: Image width and height
Read about the data processor and output formatting and see the source code of the "Output HTML" sample from the "_samples" folder of your CKEditor installation for some input on how to achieve this.
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!