Make WordPress Core


Ignore:
Timestamp:
10/06/2017 05:43:11 PM (7 years ago)
Author:
azaozz
Message:

Editor:

  • Fix keeping text selection and scroll position when there are embeds from URL.
  • Add editor setting to disable keeping selection and scroll position.
  • Remove dependency on Underscore.js.
  • Fix error in the Text widget editor.

Props biskobe.
Fixes #42059, see #40854.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-editor.php

    r41346 r41783  
    982982            'wpeditimage_html5_captions' => true,
    983983            'wp_lang_attr' => get_bloginfo( 'language' ),
     984            'wp_keep_scroll_position' => false,
    984985            'wp_shortcut_labels' => wp_json_encode( $shortcut_labels ),
    985986        );
Note: See TracChangeset for help on using the changeset viewer.