We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4b05a3 commit 3bddd04Copy full SHA for 3bddd04
src/content.ts
@@ -2524,7 +2524,7 @@ function addHotkeyListener(): void {
2524
2525
function hotkeyListener(e: KeyboardEvent): void {
2526
if ((["textarea", "input"].includes(document.activeElement?.tagName?.toLowerCase())
2527
- || document.activeElement?.["contentEditable"] === "true"
+ || (document.activeElement as HTMLElement)?.isContentEditable
2528
|| document.activeElement?.id?.toLowerCase()?.match(/editable|input/))
2529
&& document.hasFocus()) return;
2530
0 commit comments