mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
This commit is contained in:
parent
49168d9d6e
commit
92576d3227
1 changed files with 2 additions and 1 deletions
|
|
@ -440,7 +440,8 @@ export const popTextCell = (protyle: IProtyle, cellElements: HTMLElement[], type
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
avMaskElement.addEventListener("click", (event) => {
|
avMaskElement.addEventListener("click", (event) => {
|
||||||
if ((event.target as HTMLElement).classList.contains("av__mask") && document.activeElement.tagName !== "TEXTAREA") {
|
if ((event.target as HTMLElement).classList.contains("av__mask")
|
||||||
|
&& document.activeElement.tagName !== "TEXTAREA" && document.activeElement.tagName !== "INPUT") {
|
||||||
updateCellValueByInput(protyle, type, blockElement, cellElements);
|
updateCellValueByInput(protyle, type, blockElement, cellElements);
|
||||||
avMaskElement?.remove();
|
avMaskElement?.remove();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue