我认为CKEditor是最强大的WYSIWYG编辑器,但CKEditor有一些问题,我发现Wordpress编辑器比CKEditor强大:)
但我不知道什么是wordpress编辑器?是OpenSource吗?
如何在项目中使用WordPress编辑器?
更新
我的意思是wordpress默认编辑器:
答案 0 :(得分:2)
以下答案指导您,我希望
How to use Wordpress Text Editor in a custom plugin
https://codex.wordpress.org/Function_Reference/wp_editor
https://www.bloggersignal.com/set-html-editor-as-default-editor-in-wordpress/
https://www.webhostinghero.com/how-to-switch-the-wordpress-editor-to-html-by-default/
答案 1 :(得分:0)
您只需在功能文件中添加以下过滤器, 只需将以下代码和过去的代码复制到您的子主题功能文件中,即可完成硬刷新
add_filter('use_block_editor_for_post', '__return_false', 10);