TinyMCE:Configuration/apply source formatting

From Moxiecode Documentation Wiki

Jump to: navigation, search

Option: apply_source_formatting

This option enables you to tell TinyMCE to apply some source formatting to the output HTML code. With source formatting, the output HTML code is indented and formatted. Without source formatting, the output HTML is more compact.

This option is enabled by default as of version 3.0.

Example of usage of the apply_source_formatting option:

tinyMCE.init({
	...
	apply_source_formatting : true
});
Personal tools