mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-26 18:26:09 +01:00
🐛 单元格编辑中 ctrl+p 光标定位
This commit is contained in:
parent
ccb43c4bf5
commit
591189b915
1 changed files with 3 additions and 1 deletions
|
|
@ -370,7 +370,9 @@ const updateCellValue = (protyle: IProtyle, type: TAVCol, cellElements: HTMLElem
|
|||
if (!hasClosestByClassName(cellElements[0], "custom-attr")) {
|
||||
cellElements[0].classList.add("av__cell--select");
|
||||
}
|
||||
if (blockElement) {
|
||||
if (blockElement &&
|
||||
// 单元格编辑中 ctrl+p 光标定位
|
||||
!document.querySelector(".b3-dialog")) {
|
||||
focusBlock(blockElement);
|
||||
}
|
||||
document.querySelectorAll(".av__mask").forEach((item) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue