Vanessa 2024-04-08 21:32:40 +08:00
parent 859e19d755
commit 49168d9d6e

View file

@ -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();
}