config.js 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. /**
  2. * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md or http://ckeditor.com/license
  4. */
  5. CKEDITOR.editorConfig = function( config ) {
  6. config.toolbarGroups = [
  7. { name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
  8. { name: 'editing', groups: [ 'find', 'selection', 'spellchecker', 'editing' ] },
  9. { name: 'links', groups: [ 'links' ] },
  10. { name: 'insert', groups: [ 'insert' ] },
  11. { name: 'forms', groups: [ 'forms' ] },
  12. { name: 'tools', groups: [ 'tools' ] },
  13. { name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
  14. { name: 'others', groups: [ 'others' ] },
  15. '/',
  16. { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
  17. { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi', 'paragraph' ] },
  18. { name: 'styles', groups: [ 'styles' ] },
  19. { name: 'colors', groups: [ 'colors' ] },
  20. { name: 'about', groups: [ 'about' ] }
  21. ];
  22. config.removeButtons = 'Subscript,Superscript,Scayt,Anchor,Source,Outdent,Indent,Blockquote,About,PasteFromWord';
  23. config.removePlugins = 'elementspath';
  24. config.resize_enabled = false;
  25. config.toolbarCanCollapse = true;
  26. config.toolbarStartupExpanded = false;
  27. };