diff --git a/app/src/mobile/editor.ts b/app/src/mobile/editor.ts index d1cf235d8..f71f5f6a9 100644 --- a/app/src/mobile/editor.ts +++ b/app/src/mobile/editor.ts @@ -41,9 +41,10 @@ export const openMobileFileById = (app: App, id: string, action: TProtyleAction[ }); if (blockElement) { pushBack(); - scrollCenter(window.siyuan.mobile.editor.protyle, blockElement, "start"); if (action.includes(Constants.CB_GET_HL)) { - highlightById(window.siyuan.mobile.editor.protyle, id, "start"); + highlightById(window.siyuan.mobile.editor.protyle, id); + } else { + scrollCenter(window.siyuan.mobile.editor.protyle, blockElement); } closePanel(); // 更新文档浏览时间