TinyMCE: Restore old wordpress_adv_hidden editor parameter to enable force-showing the kitchen sink.
Merges [28181] to the 3.9 branch. props azaozz. fixes #27963. Built from https://develop.svn.wordpress.org/branches/3.9@28226 git-svn-id: http://core.svn.wordpress.org/branches/3.9@28054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
75c9032983
commit
44c39135ab
|
@ -63,7 +63,7 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) {
|
||||||
|
|
||||||
// Hide the toolbars after loading
|
// Hide the toolbars after loading
|
||||||
editor.on( 'PostRender', function() {
|
editor.on( 'PostRender', function() {
|
||||||
if ( getUserSetting('hidetb', '0') === '0' ) {
|
if ( editor.getParam( 'wordpress_adv_hidden', true ) && getUserSetting( 'hidetb', '0' ) === '0' ) {
|
||||||
toggleToolbars( 'hide' );
|
toggleToolbars( 'hide' );
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Loading…
Reference in New Issue