Php 从CKEditor中删除页脚标记
我正在我的网站中使用Php 从CKEditor中删除页脚标记,php,html,ckeditor,Php,Html,Ckeditor,我正在我的网站中使用CKEditor,我想在这里删除页脚标记。我怎么做?我正在使用CKEditor添加一些有用的内容。它工作正常,但我不想显示页脚标记。它显示p和div标签。如何从CKEditor中删除页脚p和div标记?这取决于页脚显示的内容。 建议: 在config.js文件中添加以下代码: config.removePlugins = 'elementspath'; config.resize_enabled = false; 这是问题的一部分 但是,如果您想禁用来自CKEditor插件
CKEditor
,我想在这里删除页脚标记。我怎么做?我正在使用CKEditor
添加一些有用的内容。它工作正常,但我不想显示页脚标记。它显示p
和div
标签。如何从CKEditor
中删除页脚p
和div
标记?这取决于页脚显示的内容。建议: 在config.js文件中添加以下代码:
config.removePlugins = 'elementspath';
config.resize_enabled = false;
这是问题的一部分
但是,如果您想禁用来自CKEditor插件且仍在生成中的某些功能,可以使用removePlugins
设置来防止加载插件
// Remove one plugin.
config.removePlugins = 'elementspath';
// Remove multiple plugins.
config.removePlugins = 'elementspath,save,font';
您需要在config.js文件中添加以下行:
config.removePlugins='elementspath'代码>它做什么?也。。你注意到了吗,在接受的答案中也提到了这一点?它从编辑的页脚中删除了body,p标签文本。你应该将其添加到你的答案中。