Ensure the editor height is saved properly, props jupiterwise, see #28000, for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@28193 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fff29139b5
commit
d19f7a398e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue