mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-02 01:20:03 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@41783 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -981,6 +981,7 @@ final class _WP_Editors {
|
||||
'end_container_on_empty_block' => true,
|
||||
'wpeditimage_html5_captions' => true,
|
||||
'wp_lang_attr' => get_bloginfo( 'language' ),
|
||||
'wp_keep_scroll_position' => false,
|
||||
'wp_shortcut_labels' => wp_json_encode( $shortcut_labels ),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user