Make WordPress Core

Changeset 41141


Ignore:
Timestamp:
07/25/2017 02:18:32 AM (7 years ago)
Author:
westonruter
Message:

TinyMCE: Fix styling of selected state for linked images containing captions.

Props azaozz.
Fixes #41408.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/tinymce/skins/wordpress/wp-content.css

    r40783 r41141  
    102102}
    103103
    104 .wp-caption img {
    105     display: block;
     104dl.wp-caption dt.wp-caption-dt img {
     105    display: inline-block;
     106    margin-bottom: -1ex;
    106107}
    107108
     
    181182}
    182183
     184.mce-content-body .wp-caption-dt a[data-mce-selected] {
     185    outline: none;
     186    padding: 0;
     187    margin: 0;
     188    box-shadow: none;
     189    background: transparent;
     190}
     191
    183192.mce-content-body code {
    184193    padding: 2px 4px;
Note: See TracChangeset for help on using the changeset viewer.