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: http://core.svn.wordpress.org/trunk@24341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2013-05-23 22:49:06 +00:00
parent 568a52c53b
commit 0e0bbd38a2
1 changed files with 1 additions and 0 deletions

View File

@ -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,