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

keep_styles

(Requires: 3.2)

This option enables keeping the current text style when you press enter/return on non-IE browsers. This feature is enabled by default but can be disabled by setting the value to false.

Example of usage of the keep_styles option

// Output elements in HTML style
tinyMCE.init({
    ...
    theme : "advanced",
    keep_styles : false
});

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.