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

Props azaozz.
Fixes #41408.

Built from https://develop.svn.wordpress.org/trunk@41141


git-svn-id: http://core.svn.wordpress.org/trunk@40981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter 2017-07-25 02:19:42 +00:00
parent 7819daefd2
commit 4042c0b416
2 changed files with 12 additions and 3 deletions

View File

@ -101,8 +101,9 @@ img {
width: auto !important;
}
.wp-caption img {
display: block;
dl.wp-caption dt.wp-caption-dt img {
display: inline-block;
margin-bottom: -1ex;
}
div.mceTemp {
@ -180,6 +181,14 @@ img[data-mce-selected]::selection {
background: #bfe6ff;
}
.mce-content-body .wp-caption-dt a[data-mce-selected] {
outline: none;
padding: 0;
margin: 0;
box-shadow: none;
background: transparent;
}
.mce-content-body code {
padding: 2px 4px;
margin: 0;

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.9-alpha-41139';
$wp_version = '4.9-alpha-41141';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.