diff --git a/src/components/modules/ui.ts b/src/components/modules/ui.ts index e9288363..301d4312 100644 --- a/src/components/modules/ui.ts +++ b/src/components/modules/ui.ts @@ -620,7 +620,7 @@ export default class UI extends Module { * Do not fire check on clicks at the Inline Toolbar buttons */ const target = event.target as HTMLElement; - const clickedInsideOfEditor = this.nodes.holder.contains(target) || Selection.isAtEditor; + const clickedInsideOfEditor = this.nodes.holder.contains(target); if (!clickedInsideOfEditor) { /**