简体   繁体   中英

Remove footer tags from CKEditor

I am using CKEditor in my website and here I want to remove footer tags. How can I do it? I am using CKEditor to add some useful content. It is working fine but I don't want to show the footer tags. It shows p and div tags. How can I remove footer p and div tags from CKEditor ?

It depends what the footer is displaying.
This old thread suggests:

Add this code in your config.js file :

 config.removePlugins = 'elementspath'; config.resize_enabled = false;

This is part of the basic configuration of CKEditor

If you, however, want to disable some functionality that comes from a CKEditor plugin and is still in your build, you can use the removePlugins setting to prevent the plugin from loading.

 // Remove one plugin. config.removePlugins = 'elementspath'; // Remove multiple plugins. config.removePlugins = 'elementspath,save,font';

您需要在 config.js 文件中添加以下行:

config.removePlugins = 'elementspath';

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM