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

props azaozz.
see #27963, for trunk.

Built from https://develop.svn.wordpress.org/trunk@28181


git-svn-id: http://core.svn.wordpress.org/trunk@28012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2014-04-22 13:50:14 +00:00
parent 1613157773
commit a6eedd18b2
3 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) {
// Hide the toolbars after loading
editor.on( 'PostRender', function() {
if ( getUserSetting('hidetb', '0') === '0' ) {
if ( editor.getParam( 'wordpress_adv_hidden', true ) && getUserSetting( 'hidetb', '0' ) === '0' ) {
toggleToolbars( 'hide' );
}
});

File diff suppressed because one or more lines are too long