TINY BLOG > Important changes to Tiny Cloud pricing > Find out more
Return to Website

fix_nesting

Removed in 3.4

This option controls if invalid contents should be corrected before insertion in IE. IE has a bug that produced an invalid DOM tree if the input contents aren't correct so this option tries to fix this using preprocessing of the HTML string. This option is disabled by default since it might be a bit slow.

This invalid code:

<p><b></p></b>

Gets converted into this correct value:

<p><b></b></p>

Example of usage of the fix_nesting option:

tinyMCE.init({
    ...
    fix_nesting : true
});

Except as otherwise noted, the content of this page is licensed under the Creative Commons BY-NC-SA 3.0 License, and code samples are licensed under the Apache 2.0 License.