TinyMCE: fix initializing the editor on switching Text => Visual when the Text editor is loaded first.
Props stuartshields, peterwilsoncc, netweb, azaozz. Fixes #33192. Built from https://develop.svn.wordpress.org/trunk@33527 git-svn-id: http://core.svn.wordpress.org/trunk@33494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b7f9555444
commit
63d1389143
|
@ -520,11 +520,6 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) {
|
||||||
editor.settings.height = 300;
|
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( {
|
each( {
|
||||||
c: 'JustifyCenter',
|
c: 'JustifyCenter',
|
||||||
r: 'JustifyRight',
|
r: 'JustifyRight',
|
||||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.3-RC1-33526';
|
$wp_version = '4.3-RC1-33527';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue