First, I'd be careful about relying on tinymce for markup like this, but
You'd need to turn off htmltidy (afaik in umbracosettings.config) and then edit the tinymce settings config file to make sure there isn't a - char before div in the list of valid elements. As per http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/valid_elements, tinymce will remove empty or nested elements if it's stipulated in this file.
prevent the tinymce editor from rewriting the html
when i switch to html view and enter html directly, the editor rewrites it.
example:
i enter:
<div><div>title</div><div>body</div></div>
the editor writes it to:
<div>title</div>
seems it removes the inner div's
First, I'd be careful about relying on tinymce for markup like this, but
You'd need to turn off htmltidy (afaik in umbracosettings.config) and then edit the tinymce settings config file to make sure there isn't a - char before div in the list of valid elements. As per http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/valid_elements, tinymce will remove empty or nested elements if it's stipulated in this file.
Then touch the web.config, refresh and try again.
Dan
is working on a reply...