From 3806513ba0739b6a433417ce36fda486e3aedc42 Mon Sep 17 00:00:00 2001 From: Daniel Michel <65034538+daniel-michel@users.noreply.github.com> Date: Sun, 7 Apr 2024 15:10:58 +0200 Subject: [PATCH] Allow middle click to open link (#841) --- web/cm_plugins/link.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web/cm_plugins/link.ts b/web/cm_plugins/link.ts index 6466cb99..b1065f49 100644 --- a/web/cm_plugins/link.ts +++ b/web/cm_plugins/link.ts @@ -58,6 +58,7 @@ export function linkPlugin(client: Client) { attributes: { href: cleanLink, title: `Click to visit ${cleanLink}`, + contenteditable: "false", }, }).range(from + 1, from + cleanAnchor.length + 1), );