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

invalid_elements

This option should contain a comma separated list of element names to exclude from the content. Elements in this list will be removed when TinyMCE executes a cleanup.

Example of usage of the invalid_elements option

tinyMCE.init({
    ...
    invalid_elements : "strong,em"
});

Caution: This option doesn't accept attributes in the list, only elements

Also see valid_elements and extended_valid_elements for more configuration options.

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.