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.

Demo

螢幕擷圖

  • Select block editor plugin
  • Choose the autosave interval

使用者評論

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.
2019 年 1 月 17 日
It’s very annoying when cursor jumping or block format become weird after autosave trigger. This plugin will help you control your bad emotions, I’m confirmed!
閱讀全部 8 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Disable Gutenberg Autosave〉的開發相關工作。

參與者

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

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

對開發相關資訊感興趣?

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

變更記錄

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.