Ensure the editor height is saved properly, props jupiterwise, see #28000, for trunk.
Built from https://develop.svn.wordpress.org/trunk@28193 git-svn-id: http://core.svn.wordpress.org/trunk@28023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5de05f97dd
commit
46bdcce0eb
|
@ -1025,7 +1025,7 @@ jQuery(document).ready( function($) {
|
|||
|
||||
if ( mce ) {
|
||||
editor.focus();
|
||||
toolbarHeight = $( '#wp-content-editor-container .mce-toolbar-grp' ).height();
|
||||
toolbarHeight = parseInt( $( '#wp-content-editor-container .mce-toolbar-grp' ).height(), 10 );
|
||||
|
||||
if ( toolbarHeight < 10 || toolbarHeight > 200 ) {
|
||||
toolbarHeight = 30;
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue