From f04b75fd36bb49bd10f7f0385c8e7754a766eef9 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Thu, 10 Jul 2025 19:56:13 +0300 Subject: [PATCH] feat(popup_editor): add shortcut in links --- apps/client/src/services/link.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/services/link.ts b/apps/client/src/services/link.ts index 3e357ee77..cc6d6f66f 100644 --- a/apps/client/src/services/link.ts +++ b/apps/client/src/services/link.ts @@ -315,7 +315,7 @@ function goToLinkExt(evt: MouseEvent | JQuery.ClickEvent | JQuery.MouseDownEvent const openInNewWindow = isLeftClick && evt?.shiftKey && !ctrlKey; if (notePath) { - if (openInPopup) { + if (openInPopup || (ctrlKey && isMiddleClick)) { appContext.triggerCommand("openInPopup", { noteIdOrPath: notePath }); } else if (openInNewWindow) { appContext.triggerCommand("openInWindow", { notePath, viewScope });