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

preformatted

If you enable this feature, whitespace such as tabs and spaces will be preserved. Much like the behavior of a

 element. This can be handy when integrating TinyMCE with webmail clients. This option is disabled by default.

Example of usage of the preformatted option:

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