Hi all,
It seems like this is a fairly common issue, based on posts here and in other communities. I’ve read through some of the solutions and comments already in the MODx forums, but I haven’t found anything that directly addresses the <DIV> tag issue as does this article:
http://www.mkbergman.com/?page_id=383 (scroll down to "Changing Code Processing").
I am trying to nest a <DIV> tag that serves as a "clearer" (i.e. clear: both;). I actually edit the raw code, then save the changes (my environment is set to use TinyMCE as a default). The first time I save the change, it works as expected in the browser. The next time I edit the page with the clearing <DIV>, it’s gone. If I resave without adding the <DIV> back in or making any other changes, the page no longer works as expected in the browser (which makes sense because the <DIV> is gone).
What is the best way to prevent TinyMCE from removing this <DIV> that is added into the raw code? According to the above article, I need to edit a TinyMCE configuration file.
Is there a better fix for the MODx environment?
Thanks,
Chris
MODx v 0.9.6.2
TinyMCE v 3.1.0.1a