From 49168d9d6e215fff8b670c0258784d8e21d0b49a Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 8 Apr 2024 21:32:40 +0800 Subject: [PATCH] :art: fix https://github.com/siyuan-note/siyuan/issues/10877 --- app/src/protyle/render/av/cell.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.ts index d35896738..53f625189 100644 --- a/app/src/protyle/render/av/cell.ts +++ b/app/src/protyle/render/av/cell.ts @@ -440,7 +440,7 @@ export const popTextCell = (protyle: IProtyle, cellElements: HTMLElement[], type }); } avMaskElement.addEventListener("click", (event) => { - if ((event.target as HTMLElement).classList.contains("av__mask")) { + if ((event.target as HTMLElement).classList.contains("av__mask") && document.activeElement.tagName !== "TEXTAREA") { updateCellValueByInput(protyle, type, blockElement, cellElements); avMaskElement?.remove(); }