Make WordPress Core

Opened 6 years ago

Last modified 6 years ago

#28951 closed defect (bug)

Caption shortcode `class` attribute stripped by TinyMCE — at Version 1

Reported by: dominicp Owned by:
Milestone: 4.0 Priority: normal
Severity: normal Version: 3.9.1
Component: Editor Keywords: dev-feedback has-patch
Focuses: javascript, administration Cc:

Description (last modified by SergeyBiryukov)

A class attributed is listed as supported in the Codex and it looks like support was added in [27404]. 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.

Change History (1)

#1 @SergeyBiryukov
6 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.