Skip to content

Instantly share code, notes, and snippets.

@msaulohenrique
Created July 27, 2020 17:24
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 msaulohenrique/eb8cc7aa2907025e8da411eebd4c0c2e to your computer and use it in GitHub Desktop.
Save msaulohenrique/eb8cc7aa2907025e8da411eebd4c0c2e to your computer and use it in GitHub Desktop.
/*
|--------------------------------------------------------------------------------
| CKEditor Options
|--------------------------------------------------------------------------------
|
| To view a list of all available options checkout the CKEditor API documentation
| https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html
|
*/
'options' => [
'toolbar' => [
['Source','-','Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Image','Table','HorizontalRule','SpecialChar','PageBreak'],
'/',
['Bold','Italic','Strike','-','Subscript','Superscript'],
['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'],
['JustifyLeft','JustifyCenter','JustifyRight'],
['Link','Unlink','Anchor'],
'/',
['Format','FontSize'],
['Maximize', 'ShowBlocks','-','About']
]
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment