如何添加 ckEditor 表插件
How can I add the ckEditor table plugin?
我从ckEditor下载了代码,但是如何添加插件?到目前为止,我已经将其添加到插件文件夹中,但是如何配置它以便使用它。
这是我的配置设置。我特别不确定如何添加按钮?
config.toolbarGroups = [
{ name: 'document', groups: ['Source', 'mode', 'document', 'doctools', 'maximize'] },
{ name: 'clipboard', groups: ['clipboard', 'undo'] },
{ name: 'editing', groups: ['find', 'selection', 'spellchecker'] },
{ name: 'forms' },
{ name: 'basicstyles', groups: ['basicstyles', 'cleanup'] },
{ name: 'paragraph', groups: ['list', 'indent', 'blocks', 'align', 'bidi', 'justify'] },
{ name: 'insert' },
{ name: 'styles' },
{ name: 'colors' },
{ name: 'tools' },
{ name: 'others' }
];
config.extraPlugins = 'insertpre,format,justify,maximize,sourcearea';
你可以将
Table
添加到你的config.toolbar
中,比如:
config.toolbar = [
{ name: 'insert', items: [ 'Table' ] }
];
....
它将在编辑器中显示"表格"按钮
相关文章:
- Ckeditor插件功能在使用setData(“hai”)之后不起作用;
- 创建一个简单的CKEditor插件-选择下拉列表
- ckEditor插件iframe对话框设置html输入
- CKEditor 插件 - 当前文本区域的 ID
- CKEditor插件不在插件文件夹中
- CKEditor + 插件链接选择框
- 将事件侦听器添加到CKEDITOR插件
- CKEditor插件-如何以正确的方式启动DialogCommand
- CKEditor插件-为所选文本迭代多个DOM元素的正确方法
- rails 4与CKEditor-插件(codesnippet)没有'不起作用
- 当创建一个CKEditor插件时,我如何添加一个“;“颜色选择器”;到我的对话框
- 如何禁用url在ckeditor插件
- 如何在Rails 3应用程序中插入CKEditor插件
- vBulletin / CKEditor插件在源模式下被禁用
- Javascript在加载时移除ckeditor插件
- 如何在页面内调用CKEditor 4插件函数
- Ckeditor插件-在文本区域的特定元素上执行javascript函数
- Ckeditor插件对话框选择从选定的一个获取描述
- 如何在CKEDITOR插件中的图像上传中添加csrf令牌到post请求
- 在Ckeditor插件中输入字母