19 lines
918 B
JavaScript
19 lines
918 B
JavaScript
CKEDITOR.editorConfig = function(config) {
|
|
config.resize_enabled = false;
|
|
config.toolbarCanCollapse = true;
|
|
config.toolbar = 'MyToolbar';
|
|
config.toolbar_MyToolbar =
|
|
[
|
|
{ name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] },
|
|
{ name: 'colors', items : [ 'TextColor','BGColor' ] },
|
|
{ name: 'tools', items : [ 'Maximize', '-','About' ] },
|
|
{ name: 'clipboard', items : [ 'Undo','Redo' ] },
|
|
{ name: 'editing', items : [ 'Find','Replace','-','SelectAll' ] },
|
|
'/',
|
|
{ name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },
|
|
{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock' ] },
|
|
{ name: 'links', items : [ 'Link','Unlink' ] },
|
|
{ name: 'insert', items : [ 'Image','Table','HorizontalRule','SpecialChar' ] }
|
|
];
|
|
};
|