From 452714d06ede4b45f879c2325202dee7aea9a61a Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 17 Dec 2025 17:26:50 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/16614 --- app/src/editor/openLink.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/editor/openLink.ts b/app/src/editor/openLink.ts index 38dbd01f6..279f02c6f 100644 --- a/app/src/editor/openLink.ts +++ b/app/src/editor/openLink.ts @@ -70,11 +70,11 @@ export const processSYLink = (app: App, url: string) => { openFileById({ app, id, - action: (zoomIn || focus) ? [Constants.CB_GET_FOCUS, Constants.CB_GET_ALL] : [Constants.CB_GET_FOCUS, Constants.CB_GET_CONTEXT, Constants.CB_GET_ROOTSCROLL], + action: (zoomIn || focus) ? [Constants.CB_GET_FOCUS, Constants.CB_GET_HL, Constants.CB_GET_ALL] : [Constants.CB_GET_HL, Constants.CB_GET_CONTEXT, Constants.CB_GET_ROOTSCROLL], zoomIn: zoomIn || focus }); /// #else - openMobileFileById(app, id, (zoomIn || focus) ? [Constants.CB_GET_FOCUS, Constants.CB_GET_ALL] : [Constants.CB_GET_FOCUS, Constants.CB_GET_CONTEXT, Constants.CB_GET_ROOTSCROLL]); + openMobileFileById(app, id, (zoomIn || focus) ? [Constants.CB_GET_FOCUS, Constants.CB_GET_HL, Constants.CB_GET_ALL] : [Constants.CB_GET_HL, Constants.CB_GET_CONTEXT, Constants.CB_GET_ROOTSCROLL]); /// #endif }); /// #if !BROWSER