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:
Andrew Ozz
2014-08-01 02:43:17 +00:00
parent 2dda137191
commit b9886e92e3
13 changed files with 201 additions and 62 deletions

View File

@@ -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
}