TinyMCE:Configuration/cleanup serializer

From Moxiecode Documentation Wiki

Jump to: navigation, search

Option: cleanup_serializer

This option switches the cleanup engine of TinyMCE to one built for raw performance. It will skip most of the cleanup options and just focus on generating a valid XML parse able string. So additional cleanup of unwanted elements is up to the back end page. But since it's a XML string it easy to parse using PHP or .NET and then just filter out the element that you don't need.

Warning: This option is somewhat experimental so use it on your own risk.

Example of usage of the entities option / default value:

tinyMCE.init({
	...
	cleanup_serializer : 'xml'
});
Personal tools