[wp-trac] [WordPress Trac] #28951: Caption shortcode `class` attribute stripped by TinyMCE
WordPress Trac
noreply at wordpress.org
Fri Jul 18 22:45:33 UTC 2014
#28951: Caption shortcode `class` attribute stripped by TinyMCE
----------------------------------------+-----------------------------
Reporter: dominicp | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 3.9.1
Severity: normal | Keywords:
Focuses: javascript, administration |
----------------------------------------+-----------------------------
A class attributed is listed as supported in the
[http://codex.wordpress.org/Caption_Shortcode Codex] and it looks like
support was added in this [https://core.trac.wordpress.org/changeset/27404
Changeset]. But, if I add one manually in text view, and switch back to
the visual editor, the attribute is stripped.
Unfortunately, I'm not familiar enough with the WP internal javascript to
pinpoint exactly where this is happening.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28951>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list