How to allow all custom user defined elements and attribute in tinymce editor. I am using below code buts its inserting my span element but removing temp attribute. Can it possible that tinymce allow all custom attributes and elements in it?
tinyMCE.activeEditor.execCommand('mceInsertContent', false,
"<span class=\"fnlabel\" temp=\"footnote\">" + labelText + "</span> "
);