TinyMCE:Configuration/invalid elements

From Moxiecode Documentation Wiki

Jump to: navigation, search

Option: 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.

Personal tools