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
Remove status bar from CKEditor
提问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
Answer is here: http://cksource.com/forums/viewtopic.php?p=42512&sid=5e2f0367542c8dc9468e6addb20d8d70#p42512
答案在这里:http: //cksource.com/forums/viewtopic.php?p=42512&sid=5e2f0367542c8dc9468e6addb20d8d70# p42512
config.removePlugins = 'elementspath';
config.resize_enabled = false;
回答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
});

