Make WordPress Core


Ignore:
Timestamp:
07/10/2014 07:35:32 PM (12 years ago)
Author:
helen
Message:

Editor scrolling:

  • Make sure the background color for tools is only applied to the main editor.
  • Fix toolbar width for smaller screens.
  • Ensure toolbar doesn't end up in a weird place when scrolling down too fast.
  • Avoid JS errors for post types that don't support the editor.

props avryl. see #28328.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-form-advanced.php

    r29049 r29075  
    1212
    1313wp_enqueue_script('post');
    14 wp_enqueue_script('editor-expand');
     14
     15if ( post_type_supports( $post_type, 'editor' ) ) {
     16    wp_enqueue_script('editor-expand');
     17}
    1518
    1619if ( wp_is_mobile() )
Note: See TracChangeset for help on using the changeset viewer.