该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Disable Visual Editor When Published

描述

We frequently prefer to use the visual editor to quickly draft new posts, and then polish the markup in the HTML editor before publishing. We’ve wasted hours cleaning up existing content that was mangled because someone switched over to the visual editor.

We wanted to make sure that existing content would be safe from mangling, but we still wanted the convenience of the visual editor.

This plugin automatically blocks the visual editor – on a per-post basis – only when the post is published.

This plugin does not rely on, or override, per-user settings. This plugin does not rely on per-post settings. This automated strategy works well for us – give it a try!

安装

  1. Upload the disable-visusal-editor-when-published directory to the /wp-content/plugins/
    directory of your site.
  2. 通过 WordPress 的“插件”菜单以激活本插件。

常见问题

I’m not sure this is for me. Will you support other strategies for disabling the visual editor?

No. When possible, we want code to do one thing, well. There are other plugins that might work better for you:

  • https://wordpress.org/plugins/always-edit-in-html/
  • https://wordpress.org/plugins/disable-visual-editor/
  • https://wordpress.org/plugins/disable-visual-editor-wysiwyg/
  • https://wordpress.org/plugins/dont-break-the-code/

评价

2016年9月3日
This plugin make writing codes within the WordPress posts much easier! I used it with SyntaxHighlighter Evolved plugin and it was awesome!
阅读所有1条评价

贡献者及开发者

“Disable Visual Editor When Published” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0.2

  • Tested with latest WordPress version.

1.0.1

  • Fixed a typo in the readme.

1.0

  • Initial version.