19 lines
1.3 KiB
JavaScript
Executable File
19 lines
1.3 KiB
JavaScript
Executable File
CKEDITOR.editorConfig = function( config ) {
|
|
config.toolbarGroups = [
|
|
{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
|
|
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
|
|
{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker', 'editing' ] },
|
|
{ name: 'forms', groups: [ 'forms' ] },
|
|
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
|
|
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi', 'paragraph' ] },
|
|
{ name: 'links', groups: [ 'links' ] },
|
|
{ name: 'insert', groups: [ 'insert' ] },
|
|
{ name: 'styles', groups: [ 'styles' ] },
|
|
{ name: 'colors', groups: [ 'colors' ] },
|
|
{ name: 'tools', groups: [ 'tools' ] },
|
|
{ name: 'others', groups: [ 'others' ] },
|
|
{ name: 'about', groups: [ 'about' ] }
|
|
];
|
|
|
|
config.removeButtons = 'PasteText,Paste,Copy,Cut,Templates,Source,Save,NewPage,Preview,Print,Find,SelectAll,Scayt,Form,Checkbox,Radio,TextField,Textarea,Button,ImageButton,HiddenField,Replace,Select,Underline,Strike,Subscript,Superscript,CopyFormatting,RemoveFormat,Outdent,Indent,CreateDiv,Blockquote,JustifyLeft,JustifyCenter,JustifyRight,JustifyBlock,Language,BidiRtl,BidiLtr,Anchor,Image,Flash,Table,HorizontalRule,Smiley,SpecialChar,PageBreak,Format,Styles,TextColor,BGColor,ShowBlocks,Maximize,About,Iframe';
|
|
}; |