Skip to content

Commit

Permalink
escape field when pressing Escape key
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueGreenMagick committed Jul 11, 2023
1 parent b8fa857 commit 598e60a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/addon/web/global_card.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,9 @@
if (EFDRC.CONF.remove_span) setTimeout(() => removeSpan(el), 0)
return -1
})
registerShortcut('Escape', (event, el) => {
el.blur()
})
registerFormattingShortcut()
}

Expand Down

0 comments on commit 598e60a

Please sign in to comment.