Skip to content

Build your personal knowledge base with Trilium Notes

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

SiriusXT49bc6e8c91b2
diff --git a/src/public/app/services/link.ts b/src/public/app/services/link.ts
index 138df72213..f9d5912d4a 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) {