TinyMCE:Configuration/element format

From Moxiecode Documentation Wiki

Jump to: navigation, search

Option: 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"
});
Personal tools