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

props azaozz.
see #27963, for trunk.


git-svn-id: https://develop.svn.wordpress.org/trunk@28181 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2014-04-22 13:49:28 +00:00
parent adf4aa7393
commit 620fc6660c
1 changed files with 1 additions and 1 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' );
}
});