modx-ckeditor
modx-ckeditor copied to clipboard
Stop wrapping MODx tags in <p></p> Tags
don't know if this can be done, but I have invalid markup generated because CKEditor is wrapping MODx tags in block level element
(what usually is fine for text), but when the MODx tag (for ex. a chunk) has some own markup like
inside, it's getting a mess =)...
CKEditor does not generate invalid markup. It just inserts a paragraph on Enter. If you remove wrapping tags in Source mode, you get a clean code. TinyMCE can deselect format in Format Combobox, but CKEditor can't unfortunately.
Yeah, that's what I usually do, but my editors do not like the source mode^^, so no possibility to have some regex cleaning up p-tags around modx tags before save? =)