diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.ts index a589d8859..350f8ed5f 100644 --- a/app/src/protyle/render/av/cell.ts +++ b/app/src/protyle/render/av/cell.ts @@ -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) => {