Skip to content

Instantly share code, notes, and snippets.

@senaps
Created May 26, 2019 08:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save senaps/9637ab0231e1c01ac022d5eccec4e5fe to your computer and use it in GitHub Desktop.
Save senaps/9637ab0231e1c01ac022d5eccec4e5fe to your computer and use it in GitHub Desktop.
CKEDITOR.editorConfig = function( config ) {
config.toolbarGroups = [
{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker', 'editing' ] },
{ name: 'forms', groups: [ 'forms' ] },
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi', 'paragraph' ] },
{ name: 'links', groups: [ 'links' ] },
{ name: 'styles', groups: [ 'styles' ] },
{ name: 'insert', groups: [ 'insert' ] },
{ name: 'clipboard', groups: [ 'undo', 'clipboard' ] },
{ name: 'colors', groups: [ 'colors' ] },
{ name: 'tools', groups: [ 'tools' ] },
{ name: 'others', groups: [ 'others' ] },
{ name: 'about', groups: [ 'about' ] }
];
config.removeButtons = 'Underline,Strike,Subscript,Superscript,Anchor';
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment