TinyMCE:Configuration/event elements

From Moxiecode Documentation Wiki

Jump to: navigation, search

Option: event_elements

This option should contain a comma-separated list of elements that may have event attributes, such as onclick and the like. This option is needed since some browsers execute these events while editing content. By default, this option is set to "a,img".

Example of usage of the event_elements option:

tinyMCE.init({
	...
	event_elements : "a,img,span"
});
Personal tools