外掛說明
Classic Editor (傳統編輯器) 是一款由 WordPress 團隊維護的官方外掛,這個外掛能將 WordPress 的編輯器及編輯內容的畫面還原為舊版。使用這個外掛還能擴充舊式編輯文章畫面、加入舊式中繼資料區塊,或其他需要舊版編輯器的功能。
Classic Editor (傳統編輯器) 是一款 WordPress 官方外掛,官方會提供的完整技術支援及維護直至 2020 年,或視需要延長/縮短期限。
總括來說,這個外掛為 WordPress 網站新增了以下功能:
- 網站管理員可以為全部使用者選取預設編輯器。
- 網站管理員可開放使用者自行選取偏好的預設編輯器。
- 如果開放使用者自行選取預設編輯器,使用者還能自行選取每篇文章的要使用哪一個編輯器。
- 無論內容最後是由誰進行編輯,每篇內容都會以最後使用的編輯器開啟,因為這能讓編輯內容保持一致的使用體驗。
除此之外,Classic Editor (傳統編輯器) 外掛包含數個能讓其他外掛控制相關設定及能在各種內容類型編輯區中選取編輯器的篩選器。
依照預設,這個外掛會隱藏新式區塊編輯器 (含 Gutenberg 外掛) 所提供全部功能。
螢幕擷圖
常見問題集
-
預設設定
-
啟用這個外掛後,會還原之前舊版的 WordPress 編輯器,並隱藏新式區塊編輯器 (含 Gutenberg 外掛) 所提供全部功能。這項預設設定可在 [設定]→[寫作] 頁面中進行變更。
-
多站網路的預設設定
-
在多站網路中有兩種設定方式:
- 在多站網路中啟用這個外掛,傳統編輯器便成為整個多站網路全部網站的預設編輯器,且個別網站的網站管理員及使用者預設無法自行變更編輯器,但這些預設設定可以在 [多站網路設定] 畫面進行變更。
- 不在多站網路中啟用這個外掛,讓個別網站的網站管理員自行在自己的網站中啟用這個外掛,並選擇是否開放讓網站使用者切換編輯器。
-
找不到 [切換至傳統編輯器] 連結
-
這個連結只會出現在區塊編輯器功能選單中,請參考這張螢幕擷圖。
使用者評論
參與者及開發者
以下人員參與了開源軟體〈Classic Editor (傳統編輯器)〉的開發相關工作。
參與者變更記錄
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
andclassic_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.