|
|
@@ -115,6 +115,7 @@ export default class DecoupledEditorUI extends EditorUI {
|
|
|
const toolbar = view.toolbar;
|
|
|
|
|
|
toolbar.fillFromConfig( this._toolbarConfig.items, this.componentFactory );
|
|
|
+ toolbar.shouldGroupWhenFull = true;
|
|
|
|
|
|
enableToolbarKeyboardFocus( {
|
|
|
origin: editor.editing.view,
|
|
|
@@ -122,6 +123,10 @@ export default class DecoupledEditorUI extends EditorUI {
|
|
|
originKeystrokeHandler: editor.keystrokes,
|
|
|
toolbar
|
|
|
} );
|
|
|
+
|
|
|
+ this.on( 'update', () => {
|
|
|
+ toolbar.update();
|
|
|
+ } );
|
|
|
}
|
|
|
|
|
|
/**
|