Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link

@Patel-Kalpesh Patel-Kalpesh commented Mar 31, 2021

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

This comment has been minimized.

Copy link
Owner Author

@stefandobre stefandobre commented Mar 31, 2021

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