Skip to content

Commit

Permalink
Remove event origin verification on selection change event
Browse files Browse the repository at this point in the history
  • Loading branch information
tavaresasilva committed Nov 24, 2024
1 parent 8a54840 commit 9ba4e96
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/components/floating-toolbar/TextContextFloatingToolbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,6 @@ export class TextContextFloatingToolbar extends FloatingToolbar {

document.addEventListener(DefaultJSEvents.SelectionChange, (event) => {

if (!Utils.isEventFromContentWrapper(event)) {
return;
}

this.showHide(event, isSelecting);
});

Expand Down

0 comments on commit 9ba4e96

Please sign in to comment.