How can I completely remove TinyMCE in Wordpress?

2019-07-16 07:28发布

When I say "remove," I mean "permanently remove, forever, for everybody." All I want is a plain vanilla text box to paste HTML into, which I am editing locally.

2条回答
小情绪 Triste *
2楼-- · 2019-07-16 07:50

You may set the tinymce configuration parameter mode to none.

This means a special command is needed in order to initaialize the editor, thus your textarea will stay as it is.

查看更多
孤傲高冷的网名
3楼-- · 2019-07-16 08:07

Nothing can be really be permanent as it's part of the core and updates will likely re-enable it at some point.

You can try adding add_filter ( 'user_can_richedit' , create_function ( '$a' , 'return false;' ) , 50 ); to your functions.php file.

查看更多
登录 后发表回答