Skip to content

Instantly share code, notes, and snippets.

@vsaurabh04
Last active January 25, 2021 22:08
Show Gist options
  • Save vsaurabh04/56024de686d1eb5edb7c88faee7fdad8 to your computer and use it in GitHub Desktop.
Save vsaurabh04/56024de686d1eb5edb7c88faee7fdad8 to your computer and use it in GitHub Desktop.
CKEditor 5 Configuration
editorConfig = {
toolbar: {
items: [
'bold',
'italic',
'underline',
'link',
'bulletedList',
'numberedList',
'|',
'indent',
'outdent',
'|',
'imageUpload',
'blockQuote',
'insertTable',
'undo',
'redo',
]
},
image: {
toolbar: [
'imageStyle:full',
'imageStyle:side',
'|',
'imageTextAlternative'
]
},
table: {
contentToolbar: [
'tableColumn',
'tableRow',
'mergeTableCells'
]
},
// This value must be kept in sync with the language defined in webpack.config.js.
language: 'en'
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment