Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop wrapping MODx tags in <p></p> Tags #5

Open
exside opened this issue Jun 21, 2013 · 2 comments
Open

Stop wrapping MODx tags in <p></p> Tags #5

exside opened this issue Jun 21, 2013 · 2 comments

Comments

@exside
Copy link
Contributor

exside commented Jun 21, 2013

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 =)...

@danyaPostfactum
Copy link
Owner

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.

@exside
Copy link
Contributor Author

exside commented Jul 24, 2014

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? =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants