[wp-trac] [WordPress Trac] #22458: Image captions and block level elements

WordPress Trac noreply at wordpress.org
Sat May 24 15:08:24 UTC 2014


#22458: Image captions and block level elements
--------------------------+-----------------------------
 Reporter:  trepmal       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Media         |     Version:  3.4
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+-----------------------------

Comment (by ericlewis):

 Replying to [comment:4 DH-Shredder]:
 > Currently, we don't officially support block level elements in captions
 due to conflicts between MCE's cleanup, and browser quirks.
 >
 > However, since users can unwittingly paste the text in as a caption
 within MCE's popup, it'd be good to at least make the experience
 consistent.

 If we don't officially support block level elements in captions, should we
 strip them from the caption field on change? Or on "Insert into post"
 click?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/22458#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list