I have the CK editor set to be disabled by default. When I create or edit a node using only the plain-text window, without ever enabling the CKeditor, it still rewrites my HTML when I save the node.
So, if I enter the following HTML:
<ul>
<li>Bullet point #1</li>
<li>Bullet point #2</li>
<li>Bullet point #3</li>
</ul>
...it changes it to this:
<p><ul><br /> <li>Bullet point #1</li><br /> <li>Bullet point #2</li><br /> <li>Bullet point #3</li><br /></ul><br /></p>
In addition to running it all together, it also wraps it in <p> tags and replaces line breaks with <br /> tags
I am using an input format without the line-break converter, and I don't have any security filters enabled.
The fact that the editor insists on rewriting my HTML is already maddening, but I could work around it if disabling the editor would convince it to leave the HTML alone.
Comment | File | Size | Author |
---|---|---|---|
ckeditor-settings.gif | 3.36 KB | BerkeleyJon | |
ckeditor-after.gif | 3.72 KB | BerkeleyJon | |
ckeditor-before.gif | 3.23 KB | BerkeleyJon |
Comments
Comment #1
mkesicki CreditAttribution: mkesicki commentedIf you wish that CKEditor leaves your code in textarea untouched please exclude selected textarea(s) in CKEditor profile configuration in field "Fields to exclude/include" in "Visibility settings" tab.
If this doesn't help you or will have more questions please reopen this ticket.
Comment #2
dczepierga CreditAttribution: dczepierga commented