|
@@ -52,7 +52,7 @@ export default class Link extends Plugin {
|
|
|
init() {
|
|
init() {
|
|
|
const editor = this.editor;
|
|
const editor = this.editor;
|
|
|
|
|
|
|
|
- editor.editing.view.addObserver( ClickObserver );
|
|
|
|
|
|
|
+ editor.editing.view.document.addObserver( ClickObserver );
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* The form view displayed inside the balloon.
|
|
* The form view displayed inside the balloon.
|