Editor scrolling:
- Add a Screen Option to turn it on/off, and on()/off() methods from JS. Store the user preference. - Fix delayed calls to resize() in the TinyMCE autoresize plugin. See #28328. Built from https://develop.svn.wordpress.org/trunk@29336 git-svn-id: http://core.svn.wordpress.org/trunk@29116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1110,6 +1110,11 @@ final class WP_Screen {
|
||||
<?php
|
||||
endfor; ?>
|
||||
</div>
|
||||
<div class="editor-expand hidden">
|
||||
<label for="editor-expand-toggle">
|
||||
<input type="checkbox" id="editor-expand-toggle" <?php checked( get_user_setting( 'editor_expand', 'on' ) === 'on' ); ?> />
|
||||
<?php _e( 'Expand the editor to match the window height.' ); ?></label>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user