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

encoding

This option enables you to get XML escaped contents out of TinyMCE. Posted content will be converted to an XML string escaping characters such as <, >, ", and & to &lt;, &gt;, &quot;, and &amp;. This option is set to nothing by default and is therefore disabled.

Example of usage of the encoding option:

tinyMCE.init({
    ...
    encoding : "xml"
});

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.