mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 16:10:12 +01:00
🎨 ctrl+p database table view cell
This commit is contained in:
parent
c3918a2a71
commit
9634480890
7 changed files with 20 additions and 21 deletions
|
|
@ -296,7 +296,10 @@ ${cell.color ? `color:${cell.color};` : ""}">${text}</div>`;
|
|||
if (newCellElement) {
|
||||
newCellElement.classList.add("av__cell--select");
|
||||
}
|
||||
if (!document.querySelector(".av__panel")) {
|
||||
const avMaskElement = document.querySelector(".av__mask");
|
||||
if (avMaskElement) {
|
||||
(avMaskElement.querySelector(" textarea") as HTMLTextAreaElement).focus();
|
||||
} else if (!document.querySelector(".av__panel")) {
|
||||
focusBlock(e);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue