mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 12:58:25 +01:00
TinyMCE: fix initializing the editor on switching Text => Visual when the Text editor is loaded first.
Props stuartshields, peterwilsoncc, netweb, azaozz. Fixes #33192. git-svn-id: https://develop.svn.wordpress.org/trunk@33527 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0d51c50057
commit
86e10358fd
@ -520,11 +520,6 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) {
|
||||
editor.settings.height = 300;
|
||||
}
|
||||
|
||||
// Start hidden when the Text editor is set to load first.
|
||||
if ( tinymce.$( '#wp-' + editor.id + '-wrap' ).hasClass( 'html-active' ) ) {
|
||||
editor.hide();
|
||||
}
|
||||
|
||||
each( {
|
||||
c: 'JustifyCenter',
|
||||
r: 'JustifyRight',
|
||||
|
Loading…
x
Reference in New Issue
Block a user