這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Save with keyboard

外掛說明

This plugin lets you save your posts, pages, theme and plugin files, widgets, menus, etc. in the most natural way: pressing Ctrl+S (or Cmd+S on Mac).

I’ve coded this plugin because I was tired of pressing Cmd+S and then realize Chrome was trying to save the whole webpage

After coding this up, I’ve found in the plugin directory two plugins that did the same thing, but each one had some flaws that convinced me to publish mine.

This plugin loads a small Javascript file (minified if not WP_DEBUG). The Javascript checks the contents of any admin page for save buttons.

It is also so smart that saves as draft unpublished posts/pages and updates the ones that are already public.

Also adds a little tooltip on the buttons that can be “clicked” with Ctrl+S or Cmd+S.

安裝方式

  1. Upload the folder save-with-keyboard to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題集

Is it really so simple to install and use?

You can bet it is.

Where can I use the shortcut?

Almost everywhere!
If it’s not a post, page, widget, menu or link the plugin checks for the #submit selector (used, for instance, in theme, plugin and profile).

使用者評論

2022 年 9 月 24 日
This plugin works as described and is really handy for those of us who want to keep our hands on the keyboard for maximum productivity. Much appreciated.
閱讀全部 31 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Save with keyboard〉的開發相關工作。

參與者

〈Save with keyboard〉外掛目前已有 6 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Save with keyboard〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

3.0.2

Fixed loading of minified script.

3.0.1

Fixed localization support for old WP versions.
Fixed saving inside TinyMCE editor.

3.0

Added support for saving menus.
Rebuilt tooltip insertion with support for localization.
Tested up to WP 5.0 with Gutenberg (which doesn’t use the plugin ’cause it already handles this shortcut).