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:
Andrew Ozz 2015-08-02 20:00:56 +00:00
parent 0d51c50057
commit 86e10358fd
1 changed files with 0 additions and 5 deletions

View File

@ -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',