Add Shift + Click to open the note in a new tab and activate it.

This commit is contained in:
SiriusXT 2025-04-17 17:12:48 +08:00
parent b86407b7f5
commit 49bc6e8c91

View File

@ -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) {