123456789101112131415161718192021 |
- CKEDITOR.editorConfig = function( config ) {
- config.toolbarGroups = [
- { name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
- { name: 'editing', groups: [ 'find', 'selection', 'spellchecker', 'editing' ] },
- { name: 'styles', groups: [ 'styles' ] },
- { name: 'others', groups: [ 'others' ] },
- { 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: 'document', groups: [ 'mode', 'document', 'doctools' ] },
- { name: 'tools', groups: [ 'tools' ] },
- { name: 'colors', groups: [ 'colors' ] },
- { name: 'about', groups: [ 'about' ] }
- ];
- config.extraPlugins = 'video';
- config.removeButtons = 'Scayt,Anchor,PasteFromWord,PasteText,Paste,Copy,Cut,About';
- config.font_names='宋体/SimSun;新宋体/NSimSun;仿宋_GB2312/FangSong_GB2312;楷体_GB2312/KaiTi_GB2312;黑体/SimHei;微软雅黑/Microsoft YaHei;'+ config.font_names;
- };
|