|
| 1 | +CKEDITOR.editorConfig = function( config ) { |
| 2 | + config.extraPlugins = 'cortex_media_insert'; |
| 3 | + |
| 4 | + config.toolbarGroups = [ |
| 5 | + { name: 'document', groups: [ 'mode', 'document', 'doctools' ] }, |
| 6 | + { name: 'clipboard', groups: [ 'clipboard', 'undo' ] }, |
| 7 | + { name: 'editing', groups: [ 'find', 'selection', 'spellchecker', 'editing' ] }, |
| 8 | + { name: 'forms', groups: [ 'forms' ] }, |
| 9 | + { name: 'styles', groups: [ 'styles' ] }, |
| 10 | + { name: 'colors', groups: [ 'colors' ] }, |
| 11 | + { name: 'tools', groups: [ 'tools' ] }, |
| 12 | + { name: 'others', groups: [ 'others' ] }, |
| 13 | + { name: 'about', groups: [ 'about' ] }, |
| 14 | + '/', |
| 15 | + { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] }, |
| 16 | + { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi', 'paragraph' ] }, |
| 17 | + { name: 'links', groups: [ 'links' ] }, |
| 18 | + { name: 'insert', groups: [ 'insert' ] } |
| 19 | + ]; |
| 20 | + |
| 21 | + config.removeButtons = 'Image,Source,Save,NewPage,Preview,Print,Templates,Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField,Flash,ShowBlocks,About'; |
| 22 | +}; |
0 commit comments