ckeditor4.1配置

king5281273 2013-04-20 02:45:29
弄了个ckeditor4.1 strandard 发现不会配置 用其他版本的配置语句放config.js里面不起作用
我现在想弄个完整的工具栏,有哪位大神帮我弄下
默认config.js:

CKEDITOR.editorConfig = function( config ) {
// Define changes to default configuration here.
// For the complete reference:
// http://docs.ckeditor.com/#!/api/CKEDITOR.config

// The toolbar groups arrangement, optimized for two toolbar rows.
config.toolbarGroups = [
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] },
{ name: 'links' },
{ name: 'insert' },
{ name: 'forms' },
{ name: 'tools' },
{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
{ name: 'others' },
'/',
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align' ] },
{ name: 'styles' },
{ name: 'colors'},
{ name: 'about' }
];

// config.toolbarGroups = 'full';
// config.toolbarGroups_full=[
//
//
// ]

// Remove some buttons, provided by the standard plugins, which we don't
// need to have in the Standard(s) toolbar.
config.removeButtons = 'Underline,Subscript,Superscript';

// Se the most common block elements.
config.format_tags = 'p;h1;h2;h3;pre';

// Make dialogs simpler.
config.removeDialogTabs = 'image:advanced;link:advanced';
};



不知道是不是standard版本就只有那些工具 还是我配置的问题
在线等 谢谢
...全文
1064 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
前端小浪花 2015-10-10
  • 打赏
  • 举报
回复
standard和full配置toolbar的格式有点不大一样
我是女王 2015-07-10
  • 打赏
  • 举报
回复
我使用的4.5.1版本standard,同样有这问题。工具项了缺了我想要的工具,加不上去,后台我下载了个4.5.1full版本,工具栏显示倒是很全,及时有点太多了,想移除几个,在config.js里使用config.removeButtons完全没有反应,也搞不懂是哪里的问题;
yiqnet 2014-12-08
  • 打赏
  • 举报
回复
求解决方法,service@yiqnet.com
当然感 2014-04-10
  • 打赏
  • 举报
回复
怎么配置宽高啊??在config.js里面写不起作用。。。。
松花粉 2013-04-29
  • 打赏
  • 举报
回复
你好!我下载了ckeditor4.1,不会应用!如何配置在vs2005中?你能教教我吗?谢谢!
松花粉 2013-04-28
  • 打赏
  • 举报
回复
如何将ckeditor 4.1 配置在vs2005
abner_x 2013-04-27
  • 打赏
  • 举报
回复
怎么搞的,求教
king5281273 2013-04-20
  • 打赏
  • 举报
回复
没有人用过这东西吗? 自己顶下 别沉,实在不行,我只能换3.6版本了
king5281273 2013-04-20
  • 打赏
  • 举报
回复
自己搞定了,官网下载的时候选择full版本, full版本的ckeditor.js有个错误,debug下把错误的那句直接拿掉就可以了

87,901

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧