Make WordPress Core


Ignore:
Timestamp:
08/01/2014 02:42:30 AM (11 years ago)
Author:
azaozz
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/screen.php

    r29280 r29336  
    11111111            endfor; ?>
    11121112        </div>
     1113        <div class="editor-expand hidden">
     1114            <label for="editor-expand-toggle">
     1115            <input type="checkbox" id="editor-expand-toggle" <?php checked( get_user_setting( 'editor_expand', 'on' ) === 'on' ); ?> />
     1116            <?php _e( 'Expand the editor to match the window height.' ); ?></label>
     1117        </div>
    11131118        <?php
    11141119    }
Note: See TracChangeset for help on using the changeset viewer.