[wp-trac] [WordPress Trac] #42906: Please bring back the image caption visibility in TinyMCE visual editor

WordPress Trac noreply at wordpress.org
Thu Dec 14 20:52:20 UTC 2017


#42906: Please bring back the image caption visibility in TinyMCE visual editor
-------------------------+------------------------------
 Reporter:  eliz82       |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  TinyMCE      |     Version:  4.9.1
 Severity:  normal       |  Resolution:  invalid
 Keywords:               |     Focuses:  ui
-------------------------+------------------------------
Changes (by eliz82):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 I digged more

 "wp-includes\js\tinymce\skins\wordpress\wp-content.css" (wp 3.9.22)
 contain this


 {{{
 .wp-caption {
         border: 1px solid #ddd;
         text-align: center;
         background-color: #f3f3f3;
         padding-top: 4px;
         margin: 10px 0;
 }
 }}}

 but also contain this under:

 {{{
 .html5-captions .wp-caption {
         border: none;
         background-color: transparent;
         margin: 0;
         padding: 0;
 }
 }}}
 so probably later will overwrite the first.

 I also detected some ".wp-caption" in the default wordpress themes. But i
 don't think themes CSS is executed in the TinyMCE editor.

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


More information about the wp-trac mailing list