diff --git a/app/src/protyle/wysiwyg/remove.ts b/app/src/protyle/wysiwyg/remove.ts index 0f58cb5d4..b50a531cf 100644 --- a/app/src/protyle/wysiwyg/remove.ts +++ b/app/src/protyle/wysiwyg/remove.ts @@ -411,7 +411,8 @@ export const removeBlock = (protyle: IProtyle, blockElement: Element, range: Ran } else { transaction(protyle, doOperations, undoOperations); } - focusBlock(protyle.wysiwyg.element.querySelector(`[data-node-id="${previousId}"]`), undefined, false); + // toStart 参数不能为 false, 否则 https://github.com/siyuan-note/siyuan/issues/9141 + focusBlock(protyle.wysiwyg.element.querySelector(`[data-node-id="${previousId}"]`), undefined, true); } else { focusBlock(previousLastElement, undefined, false); }