Closed (works as designed)
Project:
Wysiwyg API template plugin
Version:
6.x-2.6
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Sep 2011 at 18:10 UTC
Updated:
24 Sep 2013 at 20:38 UTC
Comments
Comment #1
guybedford commentedIt appears that TinyMCE restricts content to valid elements, using these rules - http://www.tinymce.com/wiki.php/Configuration:valid_elements.
As far as I can tell, TinyMCE doesn't have support for custom attributes unless you specify them exactly in this valid elements array or the extended valid elements data.
You should be able to ammend this with a wysiwyg hook I believe - but it seems you would have to individually specify any custom attributes you use as I can't see the use of a wildcard attribute rule in the above documentation.
Hope that helps.
Comment #2
guybedford commented