2016-07-05 22:07:48 +07:00
|
|
|
CKEDITOR.editorConfig = function(config) {
|
|
|
|
config.resize_enabled = false;
|
2017-10-18 20:05:12 +07:00
|
|
|
config.toolbarCanCollapse = true;
|
2016-07-05 22:07:48 +07:00
|
|
|
config.toolbar = 'MyToolbar';
|
|
|
|
config.toolbar_MyToolbar =
|
|
|
|
[
|
|
|
|
{ name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] },
|
|
|
|
{ name: 'colors', items : [ 'TextColor','BGColor' ] },
|
|
|
|
{ name: 'clipboard', items : [ 'Undo','Redo' ] },
|
|
|
|
{ name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },
|
|
|
|
{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock' ] },
|
2017-10-18 20:05:12 +07:00
|
|
|
{ name: 'tools', items : [ 'Maximize' ] }
|
2016-07-05 22:07:48 +07:00
|
|
|
];
|
|
|
|
};
|