Chinaunix首页 | 论坛 | 博客
  • 博客访问: 561344
  • 博文数量: 107
  • 博客积分: 5229
  • 博客等级: 大校
  • 技术积分: 1158
  • 用 户 组: 普通用户
  • 注册时间: 2007-06-08 10:50
文章分类
文章存档

2015年(1)

2014年(1)

2012年(5)

2011年(22)

2010年(12)

2009年(13)

2008年(34)

2007年(19)

我的朋友

分类: 系统运维

2011-11-24 17:44:13

  1. var editor = CKEDITOR.replace( Names ,
  2.                             {
  3.                                 toolbar :
  4.                                 [
  5.                                     { name: 'document', items : [ 'Source','-','Save','NewPage','DocProps','Preview','Print','-','Templates' ] },
  6.                                     { name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },
  7.                                     { name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] },
  8.                                     { name: 'forms', items : [ 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton',

  9.                                      'HiddenField' ] },
  10.                                     '/',
  11.                                     { name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },
  12.                                     { name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] },
  13.                                     { name: 'links', items : [ 'Link','Unlink','Anchor' ] },
  14.                                     { name: 'insert', items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe' ] },
  15.                                     '/',
  16.                                     { name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] },
  17.                                     { name: 'colors', items : [ 'TextColor','BGColor' ] },
  18.                                     { name: 'tools', items : [ 'Maximize', 'ShowBlocks','-','About' ] }
  19.                                 ]
  20.                             });
阅读(1497) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~