-
- 14 Posts
Hi,
i’m having the same problem, all empty divs are removed when i click "Toggle Editor". I’m using Modx Rev 2.07 and TinyMCE 4.1.2. I added extended_valid_elements : "div[*]" to assets/components/tinymce/xconfig.js, didn’t change anything. Then i tried to edit TinyMCE plugin properties : plugins->TinyMCE->Properties but can’t find "valid_elements" property. Can anyone help with this problem?
add it to Custom Parameters
-
- 14 Posts
Thanks, sorry i missed that part. Now it works!
What settings should i change to make sure TinyMCE doesn’t format my HTML at all, for example it always moves </div> (no matching starting tag because it’s placed outside [[*content]] area) to the bottom of the page. I thought changing "cleanup" property to False would disable formatting, but doesn’t seem to work.
-
- 158 Posts
could someone be more specific for the Revo 2.0.7 case.
I can’t figure out what file to edit.