// For nested toolbars, refer to https://ckeditor.com/docs/ckeditor5/latest/getting-started/setup/toolbar.html#grouping-toolbar-items-in-dropdowns-nested-toolbars.
toolbar:{
items:[
'heading',
'fontSize',
'|',
'bold',
'italic',
{
label:"Text formatting",
icon:"text",
items:[
'underline',
'strikethrough',
'superscript',
'subscript',
'code',
],
},
'|',
'fontColor',
'fontBackgroundColor',
'removeFormat',
'|',
'bulletedList','numberedList','todoList',
'|',
'blockQuote',
'insertTable',
'codeBlock',
{
label:"Insert",
icon:"plus",
items:[
'imageUpload',
'|',
'link',
'internallink',
'includeNote',
'|',
'specialCharacters',
'math',
'horizontalLine'
]
},
'|',
'outdent','indent',
'|',
'markdownImport',
'cuttonote'
]
},
image:{
styles:{
options:[
'inline',
'alignBlockLeft',
'alignCenter',
'alignBlockRight',
'alignLeft',
'alignRight',
'full',// full and side are for BC since the old images have been created with these styles
'side'
]
},
resizeOptions:[
{
name:'imageResize:original',
value: null,
icon:'original'
},
{
name:'imageResize:25',
value:'25',
icon:'small'
},
{
name:'imageResize:50',
value:'50',
icon:'medium'
},
{
name:'imageResize:75',
value:'75',
icon:'medium'
}
],
toolbar:[
// Image styles, see https://ckeditor.com/docs/ckeditor5/latest/features/images/images-styles.html#demo.