You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.js 1.3KB

123456789101112131415161718192021222324252627282930
  1. /**
  2. * @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see https://ckeditor.com/legal/ckeditor-oss-license
  4. */
  5. CKEDITOR.editorConfig = function (config) {
  6. config.toolbarGroups = [
  7. {name: 'document', groups: ['mode', 'document', 'doctools']},
  8. {name: 'clipboard', groups: ['clipboard', 'undo']},
  9. {name: 'editing', groups: ['find', 'selection', 'spellchecker', 'editing']},
  10. {name: 'forms', groups: ['forms']},
  11. '/',
  12. {name: 'basicstyles', groups: ['basicstyles', 'cleanup']},
  13. {name: 'paragraph', groups: ['list', 'indent', 'blocks', 'align', 'bidi', 'paragraph']},
  14. {name: 'links', groups: ['links']},
  15. {name: 'insert', groups: ['insert']},
  16. '/',
  17. {name: 'styles', groups: ['styles']},
  18. {name: 'colors', groups: ['colors']},
  19. {name: 'tools', groups: ['tools']},
  20. {name: 'others', groups: ['others']},
  21. {name: 'about', groups: ['about']}
  22. ];
  23. config.removeButtons = 'Source,Save,NewPage,ExportPdf,Preview,Print,Templates,Language,BidiRtl,BidiLtr,Flash,PageBreak,About';
  24. config.filebrowserUploadUrl = '/Manage/FileUpload';
  25. config.extraPlugins = 'autogrow';
  26. config.autoGrow_minHeight = 250;
  27. config.autoGrow_maxHeight = 600;
  28. };