CKEditor与插件不可见
CKEditor invisible with plugins
我遇到了CKEditor的问题。我想在我的页面上安装带有一些插件的CKEditor。当我在没有插件的情况下安装编辑器时,一切都可以。但是当我添加插件时,编辑器就不可见了。
屏幕截图:
无柱塞
带柱塞
因为我以前也遇到过同样的问题,因为我的config.js文件配置不正确。请参阅以下文件。
CKEDITOR.editorConfig = function( config ) {
// Define changes to default configuration here. For example:
config.language = 'en';
config.uiColor = '#9AB8F3';
config.toolbar = 'Full';
config.height = 500;
config.toolbar_Full =
[
{ name: 'document', items : [ 'Source','-','Save','NewPage','DocProps','Preview','Print','-','Templates' ] },
{ name: 'clipboard', items : [ 'Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },
{ name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] },
{ name: 'forms', items : [ 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton',
'HiddenField' ] },
'/',
{ name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },
{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv',
'-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] },
{ name: 'links', items : [ 'Link','Unlink','Anchor' ] },
{ name: 'insert', items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe' ] },
'/',
{ name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] },
{ name: 'colors', items : [ 'TextColor','BGColor' ] },
{ name: 'tools', items : [ 'Maximize', 'ShowBlocks','-','About' ] }
];
config.toolbar_Basic =
[
['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink','-','About']
];
//config.removePlugins ='liststyle,tabletools,scayt,menubutton,contextmenu';
};
相关文章:
- CKEditor v4:自制插件中对话框的动态标题
- CKeditor预览插件.js,为Chrome和IE进行编辑.因为它拒绝CSS样式
- 删除CKEditor'中的htmlPreview;s图像插件
- 在部署ckeditor时,我需要包括插件文件夹吗
- Ckeditor插件功能在使用setData(“hai”)之后不起作用;
- 如何在CkEditor的替换功能中禁用插件
- 创建一个简单的CKEditor插件-选择下拉列表
- 有没有一种方法可以在运行中添加CKEditor的按钮到链接插件
- CKeditor自己的带有对话框的插件
- ckEditor插件iframe对话框设置html输入
- 在 CKEditor 中加载块引用插件
- Ckeditor 自定义插件 - 带有单选按钮的对话框
- 将代码片段插件添加到 Rails 应用程序中的 CKEditor
- CKEditor 插件 - 当前文本区域的 ID
- CKEditor插件不在插件文件夹中
- 如何防止 Ckeditor 的视频检测器插件在页面上有多个实例时复制内容
- 如何添加 ckEditor 表插件
- CKeditor自动增长插件在引导选项卡内
- CKEditor代码片段插件在yii2框架中不做语法高亮
- 是否有任何回调函数上传图像插件CKEditor