From 188fa4e669e9b44cae16de834766c8c1512e5128 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 9 Nov 2025 16:05:42 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/pull/16290 --- app/src/mobile/editor.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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(); // 更新文档浏览时间