修改toolbar

hotfix/远程访问多媒体中心
尹诚诚 6 years ago
parent 8705bc05c0
commit de546fde53

@ -22,31 +22,35 @@ CKEDITOR.editorConfig = function( config ) {
//config.scayt_sLang = 'de_DE'; //语法检查语言
//config.enterMode = CKEDITOR.ENTER_BR;
config.allowedContent = true;
config.toolbarGroups = [
{ name: 'undo', groups: [ 'Undo', 'Redo', ] },
{ name: 'styles', groups: [ 'styles' ] },
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker', 'editing' ] },
{ name: 'colors', groups: [ 'colors' ] },
{ name: 'forms', groups: [ 'forms' ] },
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi', 'paragraph' ] },
{ name: 'links', groups: [ 'links' ] },
{ name: 'insert', groups: [ 'insert' ] },
{ name: 'tools', groups: [ 'tools' ] },
{ name: 'others', groups: [ 'others' ] },
{ name: 'mode', groups: [ 'Source' ] },
{ name: 'about', groups: [ 'about' ] }
];
{ 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 = 'Print,Preview,NewPage,Save,Templates,SelectAll,TextField,Textarea,Select,Button,HiddenField,Form,Checkbox,Radio,NumberedList,BulletedList,CreateDiv,Language,Anchor,Flash,HorizontalRule,Smiley,SpecialChar,PageBreak,Iframe,ShowBlocks,About,BidiLtr,BidiRtl,searchCode,Copy,Cut';
config.removeButtons = 'Save,NewPage,Preview,Cut,Copy,SelectAll,Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField,About,Flash,HorizontalRule,Smiley,SpecialChar,PageBreak,Iframe,Subscript,Superscript,Anchor,BidiLtr,BidiRtl,Language,CreateDiv,BulletedList,ShowBlocks,Styles';
config.extraPlugins= 'tableresize,uploadimage,image2,codemirror,hianamedia';
config.codemirror = {
showFormatButton: false,
showCommentButton: false,
showUncommentButton: false,
showAutoCompleteButton: false,
showFormatButton: false,
showCommentButton: false,
showUncommentButton: false,
showAutoCompleteButton: false,
};
config.height=1024;
config.width=1024;

Loading…
Cancel
Save