Hello!
For some reason MODx enjoys adding unused tags, to everything hence HTML Paragraph Tags, whether it forces these tags to wrap around my Template Variables, when there is no need for Paragraph tags and or when it adds Opening and Closing Paragraph Tags at the bottom of the content, regardless, TinyMCE is adding useless and unused Paragraph tags around and under everything.
I have looked all over for the answer to this, but no one has given a true answer that would fix the issue.
MODx is great, TinyMCE is great, I just have a few issues that need answering.
Thank you so much!
Aaron
The web is our sandbox, so let's develop a castle.
-
☆ A M B ☆
- 24,524 Posts
You can change the configuration to "forced_root_block 0", but then it won't put tags around anything. There's no way to configure TinyMCE to ignore MODx tags, or to consider them block-level elements.
http://www.tinymce.com/wiki.php/Configuration:forced_root_block
http://www.tinymce.com/wiki.php/TinyMCE_FAQ#Why_doesn.27t_TinyMCE_produce_BR_elements_on_enter.2Freturn_instead_of_P_elements.3F
Sottwell:
Correction: MODx isn't adding the HTML Paragraph Tags, I am assuming that the TinyMCE is adding the unused tags. Because when I make template variables, I make the Input Type "Rich Tech Editor" hence TinyMCE, and I throw the HTML Code in there without Paragraph tags so it will, by default, be the same as that HTML that is desired. If I put HTML Tags into the Rich Text Editor as a default will it automatically add Paragraph Tags?
Thank you!
Aaron
The web is our sandbox, so let's develop a castle.
Sottwell:
Actually that did work!
Thank you!
Aaron
The web is our sandbox, so let's develop a castle.