Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Commit 78e619e

Browse files
author
Piotr Jasiun
authored
Merge pull request #293 from ckeditor/t/292
Fix: ImageTextAlternative click outside handler scope. Closes #292.
2 parents fb35177 + 42a5ce1 commit 78e619e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/imagetextalternative/imagetextalternativeui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export default class ImageTextAlternativeUI extends Plugin {
144144
clickOutsideHandler( {
145145
emitter: this._form,
146146
activator: () => this._isVisible,
147-
contextElements: [ this._form.element ],
147+
contextElements: [ this._balloon.view.element ],
148148
callback: () => this._hideForm()
149149
} );
150150
}

0 commit comments

Comments
 (0)