Disable Gutenberg Autosave

描述

By activating this plugin autosave feature in the Gutenberg editor will be disabled. Alternatively it also provides options in the editor to select a different autosave interval time than the default 60 seconds.

The block editor will still use local autosave that saves a copy of the edited post to your local storage and allows you to restore it if you happened to navigate away without saving. This plugin prevents the editor from making periodic requests to */autosaves REST endpoint, which disables the “Update” button of the editor, typically at the exact moment you’re trying to click it.

螢幕截圖

  • Select block editor plugin
  • Choose the autosave interval

評價

2025年9月16日
Finally, something that disables Gutenberg autosave! All those sites saying to define the autosave interval in wp-config.php or to disable it by dequeuing this and that, alas they don’t work. Those settings relate to the classic editor. You can use Chrome Development Tools – Network – Filter: Fetch/XHR to see they don’t work, but this lovely plugin does! Really appreciate the work on this one, thanks!
2019年2月14日
Hace exactamente lo que se le pide, desactivar la función de auto guardado de Gutenberg, que me estaba volviendo absolutamente loco. Gutenberg es un editor fantástico a la que te haces con él, pero esa función de auto guardado es verdaderamente penosa y mal implementada.
2019年2月7日
Thank you very much ! You save wordpress and us !
2019年2月5日
Go from annoyance to delight in mere moments. This plug-in fixed Gutenberg in 5.0.3. My editor was autosaving every 9 seconds. I’m sure it’s just some plug-in that’s triggering the error but now that I’m using Gutenberg, I’m pretty happy with it. And this plug-in makes it all possible. The reviewer claiming it doesn’t work forgot to activate it. —-EDIT—– After some experimentation, I discovered the offending plug-in. It was not a WP plugin at all, but rather a Google Chrome plugin called Grammarly. Choosing between Grammarly and Gutenberg is not a fun position to be in. Thank you DGA, I’m not in it.
閱讀全部10個評價

貢獻者及開發者

“Disable Gutenberg Autosave” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Disable Gutenberg Autosave 外掛目前已有 3 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Disable Gutenberg Autosave 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.16

  • Tested with WordPress 6.9.

1.0.15

  • Added a donate link on the plugin page – supporters get a 50% off coupon for my brand new WordPress theme.
  • Update @wordpress/* packages.
  • Tested with Gutenberg 21.7.0.

1.0.14

  • WP 6.8.

1.0.13

  • Replace deprecated PluginSidebarMoreMenuItem and PluginSidebar components.
  • Update @wordpress/* packages.

1.0.12

  • Update @wordpress/* packages.
  • Test with WordPress 6.5.
  • Removed src directory.
  • Added GitHub link for source.

1.0.11

  • Update @wordpress/* packages.
  • Test with WordPress 6.0.

1.0.10

  • Fix first autosave using default interval.
  • Mark (WordPress) default autosave interval as 1 min not 10 sec.
  • Add button to trigger autosave.
  • Add editor status section.
  • Fix variable typo.
  • Test with WordPress 5.8.
  • Use @wordpress/scripts for building.

1.0.9

  • Test with WordPress 5.6.
  • Add screenshots.

1.0.8

  • Update interval REST route permissions.

1.0.7

  • Remove .min from main script file name.
  • Remove file_exists check from plugin asset loading.

1.0.6

  • Remove load_plugin_textdomain.
  • Rename compiled script to same as source script.
  • Remove path from wp_set_script_translations.
  • Remove .pot file and languages dir.
  • Use wp.i18n.__ directly.
  • Add textdomain to plugin docblock.

1.0.5

  • Use wp_set_script_translations.
  • Use wp.element.Fragment instead of React.Fragment.

1.0.4

  • Don’t use inline if.

1.0.3

  • Don’t use WordPress 5.0 locale function when not available.

1.0.2

  • Use WordPress 5.0 locale function.

1.0.1

  • Update slug and textdomain.

1.0.0

  • Initial release.