mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Editor: Add localAutosaveInterval preference to editor settings
Backports changes from the Gutenberg plugin. Original PR in Gutenberg: https://github.com/WordPress/gutenberg/pull/39180. Props zieleadam, talldanwp. See #55505. git-svn-id: https://develop.svn.wordpress.org/trunk@53090 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
86c6fb2915
commit
b3a85cbd54
@ -394,6 +394,8 @@ function get_block_editor_settings( array $custom_settings, $block_editor_contex
|
||||
unset( $editor_settings['__experimentalFeatures']['spacing']['padding'] );
|
||||
}
|
||||
|
||||
$editor_settings['localAutosaveInterval'] = 15;
|
||||
|
||||
/**
|
||||
* Filters the settings to pass to the block editor for all editor type.
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user