Make WordPress Core

Changeset 28181 for trunk


Ignore:
Timestamp:
04/22/2014 01:49:28 PM (11 years ago)
Author:
nacin
Message:

TinyMCE: Restore old wordpress_adv_hidden editor parameter to enable force-showing the kitchen sink.

props azaozz.
see #27963, for trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js

    r28094 r28181  
    6464    // Hide the toolbars after loading
    6565    editor.on( 'PostRender', function() {
    66         if ( getUserSetting('hidetb', '0') === '0' ) {
     66        if ( editor.getParam( 'wordpress_adv_hidden', true ) && getUserSetting( 'hidetb', '0' ) === '0' ) {
    6767            toggleToolbars( 'hide' );
    6868        }
Note: See TracChangeset for help on using the changeset viewer.