Editor: fix initial state for editor-expand when TinyMCE is disabled or not supported. Props avryl, fixes #30592.
git-svn-id: https://develop.svn.wordpress.org/trunk@30743 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
96dee2af62
commit
492b8db722
@ -36,7 +36,7 @@
|
||||
pinnedToolsTop = 56,
|
||||
sidebarBottom = 20,
|
||||
autoresizeMinHeight = 300,
|
||||
initialMode = window.getUserSetting( 'editor' ),
|
||||
initialMode = $contentWrap.hasClass( 'tmce-active' ) ? 'tinymce' : 'html',
|
||||
advanced = !! parseInt( window.getUserSetting( 'hidetb' ), 10 ),
|
||||
// These are corrected when adjust() runs, except on scrolling if already set.
|
||||
heights = {
|
||||
|
Loading…
Reference in New Issue
Block a user