Skip to content

Commit

Permalink
improve focus handling
Browse files Browse the repository at this point in the history
  • Loading branch information
yesil committed Dec 23, 2024
1 parent c6b6744 commit 0fec699
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions studio/src/rte/rte-field.js
Original file line number Diff line number Diff line change
Expand Up @@ -751,13 +751,6 @@ class RteField extends LitElement {
}

#handleFocusout(view, event) {
if (
event.relatedTarget &&
this.shadowRoot.contains(event.relatedTarget)
) {
return false;
}

this.hasFocus = false;
this.isLinkSelected = false;
this.requestUpdate();
Expand Down

0 comments on commit 0fec699

Please sign in to comment.