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

apply_source_formatting

(Removed in: 3.0)

This option enables you to tell TinyMCE to apply some source formatting to the output HTML code.

With this option set to true, line break characters are placed after and before some tags (defined in the options "indent_before" and "indent_after").

With this option set to false, the line breaks are stripped from the HTML source.

Example of usage of the apply_source_formatting option:

tinyMCE.init({
    ...
    apply_source_formatting : 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.