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

element_format

(Requires: 3.2)

This option enables control if elements should be in html or xhtml mode. xhtml is the default state for this option. This means that for example <br /> will be <br> if you set this option to "html".

Example of usage of the element_format option

// Output elements in HTML style
tinyMCE.init({
    ...
    theme : "advanced",
    element_format : "html"
});

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.