|
@@ -79,11 +79,11 @@ export default class ContextualBalloon extends Plugin {
|
|
|
*/
|
|
*/
|
|
|
this._stack = new Map();
|
|
this._stack = new Map();
|
|
|
|
|
|
|
|
- // Editor should be focused when contextual balloon is focused.
|
|
|
|
|
- this.editor.ui.focusTracker.add( this.view.element );
|
|
|
|
|
-
|
|
|
|
|
// Add balloon panel view to editor `body` collection and wait until view will be ready.
|
|
// Add balloon panel view to editor `body` collection and wait until view will be ready.
|
|
|
this.editor.ui.view.body.add( this.view );
|
|
this.editor.ui.view.body.add( this.view );
|
|
|
|
|
+
|
|
|
|
|
+ // Editor should be focused when contextual balloon is focused.
|
|
|
|
|
+ this.editor.ui.focusTracker.add( this.view.element );
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|