TinyMCE: don't import color and background-color from the content when creating menus that have preview capabilities.
Fixes a visual glitch: when post formats styling is added in editor-styles.css, it is applied to the menus and not reset after changing format. See #24308. git-svn-id: https://develop.svn.wordpress.org/trunk@24341 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b86cae969a
commit
03f38ae6ca
@ -344,6 +344,7 @@ final class _WP_Editors {
|
||||
'paste_strip_class_attributes' => 'all',
|
||||
'paste_text_use_dialog' => true,
|
||||
'webkit_fake_resize' => false,
|
||||
'preview_styles' => 'font-family font-size font-weight text-decoration text-transform',
|
||||
'spellchecker_rpc_url' => self::$baseurl . '/plugins/spellchecker/rpc.php',
|
||||
'schema' => 'html5',
|
||||
'wpeditimage_disable_captions' => $no_captions,
|
||||
|
Loading…
Reference in New Issue
Block a user