Javascript 从 CKEditor 中删除状态栏

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2001812/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-22 22:19:57  来源:igfitidea点击:

Remove status bar from CKEditor

javascriptckeditorfckeditor

提问by Upperstage

The CKEditor website is somewhat lacking; can you tell me how to remove the status bar ('body ul li ...') from CKEditor?

CKEditor 网站有点欠缺;你能告诉我如何从 CKEditor 中删除状态栏('body ul li ...')吗?

There is a list of HTML at the bottom of the editor - body p ul li - representing how the typed text will be generated and I want to remove this list.

编辑器底部有一个 HTML 列表 - body p ul li - 表示将如何生成键入的文本,我想删除此列表。

回答by Jason

回答by Y. Shoham

Like this, for example:

像这样,例如:

CKEDITOR.appendTo('container', {
    removePlugins: 'elementspath' 
});

As mentioned by Jason below, you might also want to remove the bar completely using:

正如下面的 Jason 所提到的,您可能还想使用以下方法完全删除栏:

CKEDITOR.appendTo('container', {
    removePlugins: 'elementspath',
    resize_enabled: false
});