Skip to content

Instantly share code, notes, and snippets.

@stefandobre
Created December 30, 2020 10:50
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 stefandobre/bc14e6661742e263ad49a94079e08cd0 to your computer and use it in GitHub Desktop.
Save stefandobre/bc14e6661742e263ad49a94079e08cd0 to your computer and use it in GitHub Desktop.
Custom Code for
// followup to this conversation https://stefandobre.com/a-closer-look-at-the-rich-text-editor-of-orclapex-20-2/
function(options) {
options.editorOptions.toolbar = {
items:[
'heading',
'|', 'code', 'codeBlock', 'blockQuote',
'|', 'bold', 'italic', 'underline', 'strikethrough', 'fontfamily', 'fontsize', 'RemoveFormat', 'link',
'|', 'numberedList', 'bulletedList', 'outdent', 'indent', 'Alignment',
'|', 'InsertTable', 'fontColor', 'fontBackgroundColor',
'|', 'PageBreak', 'HorizontalLine', 'todoList', 'undo', 'redo'
],
shouldNotGroupWhenFull: true
};
options.editorOptions.table = {
contentToolbar: [
'tableColumn', 'tableRow', 'mergeTableCells',
'tableProperties', 'tableCellProperties'
]
};
return options;
}
@Patel-Kalpesh
Copy link

any other option to add look like CKEditor 4. Like Radio, Check Box, TextField, and many more...want all items to show in CKEDITOR 5

@stefandobre
Copy link
Author

To my knowledge, CKE5 does not have these features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment