WordPress.org

Make WordPress Core

Changeset 33527


Ignore:
Timestamp:
08/02/15 20:00:56 (22 hours ago)
Author:
azaozz
Message:

TinyMCE: fix initializing the editor on switching Text => Visual when the Text editor is loaded first.
Props stuartshields, peterwilsoncc, netweb, azaozz. Fixes #33192.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js

    r33504 r33527  
    519519        if ( tinymce.Env.iOS ) { 
    520520            editor.settings.height = 300; 
    521         } 
    522  
    523         // Start hidden when the Text editor is set to load first. 
    524         if ( tinymce.$( '#wp-' + editor.id + '-wrap' ).hasClass( 'html-active' ) ) { 
    525             editor.hide(); 
    526521        } 
    527522 
Note: See TracChangeset for help on using the changeset viewer.