1. How can i enable the TinyMCE editor for selected files?
2. If i have the editor enabled it changes the html code even if i don’t change anything. For example, I have a file with a content area that calls a chunk as follows: {{individual_gallery}}.
If i open the file with in "html mode" and then turn the editor on, the editor adds <p> tags around {{individual_gallery}}. This seems wrong to me but worse, puts a blank line in front of the gallery because of the <p> tags. If the html code is more complicated the editor really messes up the code.
Thank you,
Steve
-
☆ A M B ☆
- 24,524 Posts
That’s due to a setting called "forced_root_block", where it will add a block element to anything that doesn’t have one. You can turn this off in the plugin’s configuration.
http://modxcms.com/forums/index.php/topic,28908.msg280523.html#msg280523