mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 16:10:12 +01:00
♻️
This commit is contained in:
parent
8d52c126ac
commit
d85c3fa5d2
2 changed files with 31 additions and 130 deletions
|
|
@ -237,7 +237,7 @@ ${cell.color ? `color:${cell.color};` : ""}">${renderCell(cell.value, data.colum
|
|||
}
|
||||
const avMaskElement = document.querySelector(".av__mask");
|
||||
if (avMaskElement) {
|
||||
(avMaskElement.querySelector(" textarea") as HTMLTextAreaElement).focus();
|
||||
(avMaskElement.querySelector("textarea, input") as HTMLTextAreaElement)?.focus();
|
||||
} else if (!document.querySelector(".av__panel")) {
|
||||
focusBlock(e);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue