WordPress.org

Make WordPress Core

Changeset 28059


Ignore:
Timestamp:
04/08/2014 06:57:18 PM (6 years ago)
Author:
azaozz
Message:

TinyMCE: make sure vertical resizing and menubar show/hide are set to default for each instance, fixes #27724

File:
1 edited

Legend:

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

    r28043 r28059  
    451451                    'skin' => 'lightgray',
    452452                    'language' => self::$mce_locale,
    453                     'resize' => 'vertical',
    454453                    'formats' => "{
    455454                        alignleft: [
     
    474473                    'entities' => '38,amp,60,lt,62,gt',
    475474                    'entity_encoding' => 'raw',
    476                     'menubar' => false,
    477475                    'keep_styles' => false,
    478476                    'paste_webkit_styles' => 'font-weight font-style color',
     
    637635            $mceInit = array (
    638636                'selector' => "#$editor_id",
     637                'resize' => 'vertical',
     638                'menubar' => false,
    639639                'wpautop' => (bool) $set['wpautop'],
    640640                'indent' => ! $set['wpautop'],
Note: See TracChangeset for help on using the changeset viewer.