Wrap CKEDITOR5 toolbar if too long for a single line.

This commit is contained in:
Jan Böhmer 2022-07-29 21:07:54 +02:00
parent c102d17b2b
commit 08d8d1b51a
2 changed files with 6 additions and 3 deletions

View file

@ -129,7 +129,6 @@ Editor.builtinPlugins = [
Editor.defaultConfig = { Editor.defaultConfig = {
toolbar: { toolbar: {
items: [ items: [
'partdb_label',
'heading', 'heading',
'alignment', 'alignment',
'|', '|',
@ -168,7 +167,10 @@ Editor.defaultConfig = {
'redo', 'redo',
'findAndReplace', 'findAndReplace',
'sourceEditing', 'sourceEditing',
] '|',
'partdb_label',
],
shouldNotGroupWhenFull: true
}, },
language: 'en', language: 'en',
image: { image: {

View file

@ -162,7 +162,8 @@ Editor.defaultConfig = {
'redo', 'redo',
'findAndReplace', 'findAndReplace',
'sourceEditing', 'sourceEditing',
] ],
shouldNotGroupWhenFull: true
}, },
language: 'en', language: 'en',
image: { image: {