I use CKEditor on my CMS website, which pops an XML file of CDATA content to be read using flash. The problem is that CKEditor, when its enterMode is set to tags <p>, creates a line break and a tab in the source, which, when read with flash, enters the space, although I ignored WhiteSpace set to true. Any way to prevent ckeditor from using this behavior?
EDIT:
I still want to keep the <p> tags entered inside the editor - I just don't want all the extra spaces / tabs to be added to the actual source. If I use the above method, my actual code will be changed. What I get if I consider the source is:
<p>
Donec at erat nec tortor sodales tempus.</p>
(enter, and either a tab or a bunch of space after the first <p> tag and not:
<p>Donec at erat nec tortor sodales tempus.</p>
(there are no spaces or gaps after the <p> tag in the source, and I believe this affects the presentation of XML. Does this help to clarify at all?
source
share