Make WordPress Core

Changeset 24341


Ignore:
Timestamp:
05/23/2013 10:49:06 PM (13 years ago)
Author:
azaozz
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-editor.php

    r24052 r24341  
    345345                    'paste_text_use_dialog' => true,
    346346                    'webkit_fake_resize' => false,
     347                    'preview_styles' => 'font-family font-size font-weight text-decoration text-transform',
    347348                    'spellchecker_rpc_url' => self::$baseurl . '/plugins/spellchecker/rpc.php',
    348349                    'schema' => 'html5',
Note: See TracChangeset for help on using the changeset viewer.