经典编辑器

Description

经典编辑器是由WordPress团队维护的官方插件,用以恢复较早版本(“经典”)的WordPress编辑器和“编辑文章”页面。此插件亦能供其他扩展该页、加入旧式meta box及其他依赖经典编辑器的插件使用。

经典编辑器是一个WordPress官方插件,会被支持及维护到至少2022年,或视需要延长。

总的来说,这个扩展加入了以下功能:

  • 管理员可以为所有用户设置默认编辑器。
  • 管理员可以允许用户修改他们的默认编辑器。
  • 如果允许,则用户可自由选择为每篇文章使用何种编辑器。
  • 无论由谁最后编辑,每篇文章都会以最后使用的编辑器打开。因为这能让编辑内容时的使用体验保持一致。

除此之外,传统编辑器插件包含了数个过滤器,能够让其他插件控制相关设置,亦能选择每篇文章或每种文章类型的编辑器选择。

此插件默认隐藏所有区块编辑器(“古腾堡”)的所有功能。

Screenshots

  • 设置 > 撰写页面的管理设置。
  • 在个人资料页面的用户设置。仅在用户能够切换编辑器时显示。
  • “动作链接”来选择另一个编辑器。仅在用户能够切换编辑器时显示。
  • 使用传统编辑器编辑文章时会显示的切换到区块编辑器的链接。仅在用户能够切换编辑器时显示。
  • 使用区块编辑器编辑文章时会显示的切换到传统编辑器的链接。仅在用户能够切换编辑器时显示。
  • 为网络选择默认编辑器及允许站点管理员进行修改的网络设置。
  • “切换到传统编辑器”链接。

FAQ

默认设置

在激活时,此插件会把WordPress的编辑器复原为较早版本(“经典”)的WordPress编辑器,并隐藏新的区块编辑器(“古腾堡”)。
这些设置可在设置 > 撰写页面中修改。

网络安装的默认设置

有两个选项:

  • 在站点属于网络时,此插件会将经典编辑器设为默认,并阻止站点管理员及用户修改编辑器。
    此设置可被修改。全网络默认的编辑器可在网络设置页选择。
  • 在站点不属于网络时,每个站点的管理员都能激活此插件并为用户选择编辑器。
找不到“切换到传统编辑器”链接

出现在区块编辑器主菜单中,请参见这张截图

Reviews

2019年11月9日
With over 5 Million installs and a 5 Star rating you'd think WordPress developers would get the hint and undo the colossal F?!* up that Gutenberg is. I should not have to install another plugin to fix something that wasn't broken. Unless WordPress plans to make Gutenberg like the easy to use page editors WP-bakery or Divi, they should leave it alone.
2019年11月6日
I can't believe that WordPress really changed the backend editor without giving the option of going back. Then they created this plugin for all of us who want a simple way to manage blogs. Thanks!!!!
2019年11月6日
Here I thought my theme had gone off the rails and ruined my site, turns out it was wordpress with that awful gutenberg blocky stuff. So glad this classic plugin is available and that 5 million people agree it's better.
2019年11月2日
I think its great to have the option to still use the old editor, thanks for supporting that. I would give it five stars but I think the we could do better than TinyMCE. I know its the original, but the best...
Read all 726 reviews

Contributors & Developers

“经典编辑器” is open source software. The following people have contributed to this plugin.

Contributors

“经典编辑器” has been translated into 51 locales. Thank you to the translators for their contributions.

Translate “经典编辑器” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

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.