Get your own copy
Don't hesitate! Just download and test it all by yourself for free!
(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.
tinyMCE.init({
...
apply_source_formatting : true
});
Search documentation.
wce01
IE6 has gone. We want the feature.
Arsen7
Would it be OK to change the header information "(Removed in: 3.0)" into something like "(Planned to be removed)" ?
Arsen7
@mlandmann: The good news is that in current version (development sources - 3.4.x) this option is still included in default configuration and works. The only difference I noticed is that the code is not indented, but just there are line breaks added after and before some tags. With this option disabled (set to false) the HTML code has no line breaks.
In the internals there are also (not yet documented) options: 'indent_before' and 'indent_after' - both have some sane defaults.
spocke
Yep, but IE6 running JavaScript on larger documents is as slow as a 8080.
mlandmann
We want this feature back, please. Who cares if we save a couple of bytes with more compact HTML. Seriously? We are not working on 8080 CPUs with 4k of memory any more. My laptop rivals a mainframe. The human efficiency and understanding the code is far more important than the computer efficiency.