WordPress:禁用可视编辑器

The visual editor provides a visual editor to write and format posts. However, it tries to format the HTML tags written in the HTML editor when turning to the visual editor, and may delete some HTML tags and screw up HTML tags. Even when we set the editor to HTML editor, WordPress may automatically turn back to visual editor next time when we edit a post. For users that are familiar with HTML editor and prefer it, it is better to disable the Visual Editor completely. The WordPress provides an option for us to disable the visual editor actually.

可视化编辑器提供了可视化编辑器来编写和格式化帖子。 但是,当转向可视编辑器时,它会尝试格式化在HTML编辑器中编写HTML标签,并且可能会删除一些HTML标签并弄乱HTML标签。 即使我们将编辑器设置为HTML编辑器,下次我们编辑帖子时WordPress可能也会自动转回可视编辑器。 对于熟悉HTML编辑器并喜欢它的用户,最好完全禁用Visual Editor。 WordPress为我们提供了一个选项,实际上可以禁用可视化编辑器。

We can log in WordPress, go to Users->Your Profile, and check the box for “Disable visual editor when writing” to disabled it. The the visual editor will be turned off.

我们可以登录WordPress,转到“用户”->“您的个人资料”,然后选中“在编写时禁用视觉编辑器”框以其禁用。 可视编辑器将关闭。

Additionally, the administrators of WordPress you can edit each user’s option and disable the visual editor from the Users->All Users panel.

此外,WordPress管理员可以编辑每个用户的选项,并从“用户”->“所有用户”面板禁用可视编辑器。

Reference: http://wordpress.org/support/topic/how-to-disable-visual-editor-screws-up-custom-html.

参考http : //wordpress.org/support/topic/how-to-disable-visual-editor-screws-up-custom-html

翻译自: https://www.systutorials.com/wordpress-disabling-visual-editor/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值