From 49bc6e8c91b2d6138709a7ee5049b5ad83b2e3ff Mon Sep 17 00:00:00 2001 From: SiriusXT <1160925501@qq.com> Date: Thu, 17 Apr 2025 17:12:48 +0800 Subject: [PATCH] Add Shift + Click to open the note in a new tab and activate it. --- src/public/app/services/link.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/app/services/link.ts b/src/public/app/services/link.ts index 138df7221..f9d5912d4 100644 --- a/src/public/app/services/link.ts +++ b/src/public/app/services/link.ts @@ -286,7 +286,7 @@ function goToLinkExt(evt: MouseEvent | JQuery.ClickEvent | JQuery.MouseDownEvent if (notePath) { if (openInNewTab) { appContext.tabManager.openTabWithNoteWithHoisting(notePath, { - activate: targetIsBlank, + activate: evt.shiftKey ? true : targetIsBlank, viewScope }); } else if (isLeftClick) {