🎨 ctrl+p database table view cell

This commit is contained in:
Vanessa 2023-12-14 12:22:18 +08:00
parent c3918a2a71
commit 9634480890
7 changed files with 20 additions and 21 deletions

View file

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