Classic Editor (傳統編輯器)

外掛說明

Classic Editor (傳統編輯器) 是一款由 WordPress 團隊維護的官方外掛,這個外掛能將 WordPress 的編輯器及編輯內容的畫面還原為舊版。使用這個外掛還能擴充舊式編輯文章畫面、加入舊式中繼資料區塊,或其他需要舊版編輯器的功能。

Classic Editor (傳統編輯器) 是一款 WordPress 官方外掛,官方會提供的完整技術支援及維護直至 2024 年,或視需要延長/縮短期限。

總括來說,這個外掛為 WordPress 網站新增了以下功能:

  • 網站管理員可以為全部使用者選取預設編輯器。
  • 網站管理員可開放使用者自行選取偏好的預設編輯器。
  • 如果開放使用者自行選取預設編輯器,使用者還能自行選取每篇文章的要使用哪一個編輯器。
  • 無論內容最後是由誰進行編輯,每篇內容都會以最後使用的編輯器開啟,因為這能讓編輯內容保持一致的使用體驗。

除此之外,Classic Editor (傳統編輯器) 外掛包含數個能讓其他外掛控制相關設定及能在各種內容類型編輯區中選取編輯器的篩選器。

依照預設,這個外掛會隱藏新式區塊編輯器 (含 Gutenberg 外掛) 所提供全部功能。

螢幕擷圖

  • 請在 [設定]→[閱讀] 頁面設定這個外掛
  • 如果網站管理員開放使用者切換編輯器,使用者便可在 [個人資料] 頁面看到相關設定
  • 如果網站管理員開放使用者切換編輯器,便會顯示操作連結以供使用者選取不同編輯器
  • 如果網站管理員開放使用者切換編輯器,使用傳統編輯器編輯內容時便會顯示 [切換至區塊編輯器] 連結
  • 如果網站管理員開放使用者切換編輯器,使用區塊編輯器編輯內容時便會顯示 [切換至傳統編輯器] 連結
  • 這個外掛提供在多站網路中選取預設編輯器的設定,並可開放多站網路中的各個網站的網站管理員變更設定
  • [切換至傳統編輯器] 連結

常見問題集

預設設定

啟用並使用傳統 (非區塊) 佈景主題時,這個外掛會還原之前的 (傳統) WordPress 編輯器,並隱藏新式區塊編輯器。這項設定可在 [設定]→[寫作] 中進行變更。

多站網路的預設設定

在多站網路中有兩種設定方式:

  • 在多站網路中啟用並使用傳統 (非區塊) 佈景主題,這個外掛便會將傳統編輯器設定為整個多站網路全部網站的預設編輯器,且個別網站的網站管理員及使用者預設無法自行變更編輯器,但這些預設設定可以在 [多站網路設定] 畫面進行變更。
  • 不在多站網路中啟用這個外掛,讓個別網站的網站管理員自行在自己的網站中啟用這個外掛,並選擇是否開放讓網站使用者切換編輯器。

這個連結只會出現在區塊編輯器功能選單中,請參考這張螢幕擷圖

這個外掛是否能與全站編輯及區塊佈景主題搭配使用?

不能,因為區塊佈景主題與區塊存有相依性。如需進一步了解相關資訊,請參考〈區塊佈景主題〉線上說明。

使用者評論

2024 年 2 月 28 日
Pourquoi faire compliqué quand simple c'est plus efficace ? Ce widget permet de retrouver une utilisation normale de Wordpress.
2024 年 2 月 25 日
I like the Gutenberg-Blocks, but sometimes the ClassicEditor is very helpful.
2024 年 2 月 3 日
Thanks for this!!! This makes my life easier!
2024 年 1 月 17 日
I absolutely LOVE this plugin! I don't know what I will do when you stop maintaining it 🙁 Don't stop... keep this plugin alive forever!
閱讀全部 1,158 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Classic Editor (傳統編輯器)〉的開發相關工作。

參與者

〈Classic Editor (傳統編輯器)〉外掛目前已有 71 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Classic Editor (傳統編輯器)〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.6.3

  • Added some WPCS fixes, props NicktheGeek on GitHub.
  • Updated “Tested up to” in the readme and removed it from classic-editor.php. This should fix false positive errors in security plugins in the future.

1.6.2

  • Fixed bug that was preventing saving of the last used editor.

1.6.1

  • Fixed a warning on the block editor based widgets screen.
  • Fixed use of a deprecated filter.

1.6

  • Updated for WordPress 5.5.
  • Fixed minor issues with calling deprecated functions, needlessly registering uninstall hook, and capitalization of some strings.

1.5

  • Updated for WordPress 5.2 and Gutenberg 5.3.
  • Enhanced and fixed the “open posts in the last editor used to edit them” logic.
  • Fixed adding post state so it can easily be accessed from other plugins.

1.4

  • On network installations removed the restriction for only network activation.
  • Added support for network administrators to choose the default network-wide editor.
  • Fixed the settings link in the warning on network About screen.
  • Properly added the “Switch to classic editor” menu item to the block editor menu.

1.3

  • Fixed removal of the “Try Gutenberg” dashboard widget.
  • Fixed condition for displaying of the after upgrade notice on the “What’s New” screen. Shown when the classic editor is selected and users cannot switch editors.

1.2

  • Fixed switching editors from the Add New (post) screen before a draft post is saved.
  • Fixed typo that was appending the edit URL to the classic-editor query var.
  • Changed detecting of WordPress 5.0 to not use version check. Fixes a bug when testing 5.1-alpha.
  • Changed the default value of the option to allow users to switch editors to false.
  • Added disabling of the Gutenberg plugin and lowered the required WordPress version to 4.9.
  • Added classic_editor_network_default_settings filter.

1.1

Fixed a bug where it may attempt to load the block editor for post types that do not support editor when users are allowed to switch editors.

1.0

  • Updated for WordPress 5.0.
  • Changed all “Gutenberg” names/references to “block editor”.
  • Refreshed the settings UI.
  • Removed disabling of the Gutenberg plugin. This was added for testing in WordPress 4.9. Users who want to continue following the development of Gutenberg in WordPress 5.0 and beyond will not need another plugin to disable it.
  • Added support for per-user settings of default editor.
  • Added support for admins to set the default editor for the site.
  • Added support for admins to allow users to change their default editor.
  • Added support for network admins to prevent site admins from changing the default settings.
  • Added support to store the last editor used for each post and open it next time. Enabled when users can choose default editor.
  • Added “post editor state” in the listing of posts on the Posts screen. Shows the editor that will be opened for the post. Enabled when users can choose default editor.
  • Added classic_editor_enabled_editors_for_post and classic_editor_enabled_editors_for_post_type filters. Can be used by other plugins to control or override the editor used for a particular post of post type.
  • Added classic_editor_plugin_settings filter. Can be used by other plugins to override the settings and disable the settings UI.

0.5

  • Updated for Gutenberg 4.1 and WordPress 5.0-beta1.
  • Removed some functionality that now exists in Gutenberg.
  • Fixed redirecting back to the classic editor after looking at post revisions.

0.4

  • Fixed removing of the “Try Gutenberg” call-out when the Gutenberg plugin is not activated.
  • Fixed to always show the settings and the settings link in the plugins list table.
  • Updated the readme text.

0.3

  • Updated the option from a checkbox to couple of radio buttons, seems clearer. Thanks to @designsimply for the label text suggestions.
  • Some general updates and cleanup.

0.2

  • Update for Gutenberg 1.9.
  • Remove warning and automatic deactivation when Gutenberg is not active.

0.1

Initial release.