TinyMCE emoji: fix highlighting of selected replacement images in Chrome.
Props iseulde. Fixes #31628. Built from https://develop.svn.wordpress.org/trunk@31822 git-svn-id: http://core.svn.wordpress.org/trunk@31804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7de1a2e143
commit
8d9fc7e51b
@ -140,7 +140,7 @@ dl.wp-caption * {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Remove blue highlighting of selected images in WebKit */
|
/* Remove blue highlighting of selected images in WebKit */
|
||||||
img::selection {
|
img[data-mce-selected]::selection {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -162,7 +162,7 @@ img::selection {
|
|||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mce-content-body img[data-wp-more][data-mce-selected] {
|
.mce-content-body img[data-mce-placeholder][data-mce-selected] {
|
||||||
outline: 1px dotted #888;
|
outline: 1px dotted #888;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.2-beta1-31821';
|
$wp_version = '4.2-beta1-31822';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user