|
|
@@ -61,7 +61,7 @@ export default class BalloonToolbar extends Plugin {
|
|
|
this.focusTracker = new FocusTracker();
|
|
|
|
|
|
// Wait for the EditorUI#init. EditableElement is not available before.
|
|
|
- editor.once( 'uiReady', () => {
|
|
|
+ editor.ui.once( 'ready', () => {
|
|
|
this.focusTracker.add( editor.ui.view.editableElement );
|
|
|
this.focusTracker.add( this.toolbarView.element );
|
|
|
} );
|