From e4c619137911f23c6b53572e38cb631f393b1f34 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 13 Apr 2024 12:11:24 +0800 Subject: [PATCH] :art: fix https://github.com/siyuan-note/siyuan/issues/10896 --- app/src/menus/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/menus/index.ts b/app/src/menus/index.ts index ea151aa50..2842a4e7e 100644 --- a/app/src/menus/index.ts +++ b/app/src/menus/index.ts @@ -32,7 +32,7 @@ export class Menus { event.preventDefault(); return; } - if (target.classList.contains("b3-text-field")) { + if (target.classList.contains("b3-text-field") || (target.tagName === "INPUT" && (target as HTMLInputElement).type === "text")) { /// #if !BROWSER ipcRenderer.send(Constants.SIYUAN_CONTEXT_MENU, { undo: window.siyuan.languages.undo,