TEXT   37

CKEDITOR editorConfig

Guest on 1st June 2022 01:32:03 PM

  1. CKEDITOR.editorConfig = function( config ) {
  2.         config.toolbarGroups = [
  3.                 { name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
  4.                 { name: 'clipboard', groups: [ 'undo', 'clipboard' ] },
  5.                 { name: 'editing', groups: [ 'find', 'selection', 'spellchecker', 'editing' ] },
  6.                 { name: 'forms', groups: [ 'forms' ] },
  7.                 '/',
  8.                 { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
  9.                 { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi', 'paragraph' ] },
  10.                 { name: 'links', groups: [ 'links' ] },
  11.                 { name: 'insert', groups: [ 'insert' ] },
  12.                 '/',
  13.                 { name: 'styles', groups: [ 'styles' ] },
  14.                 { name: 'colors', groups: [ 'colors' ] },
  15.                 { name: 'tools', groups: [ 'tools' ] },
  16.                 { name: 'others', groups: [ 'others' ] },
  17.                 { name: 'about', groups: [ 'about' ] }
  18.         ];
  19. };

Raw Paste


Login or Register to edit or fork this paste. It's free.