From e60ba668d1803faa949009c272013a435f7bd163 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 22 Jan 2026 12:07:59 +0000 Subject: [PATCH] fix: disable pointer events on links in editor Adds pointer-events: none to anchor tags within the ProseMirror editor to prevent clicking on pasted URLs from navigating away. This allows users to edit the text containing links rather than accidentally triggering navigation. --- src/index.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/index.css b/src/index.css index a6d4f1a..611f2c8 100644 --- a/src/index.css +++ b/src/index.css @@ -392,6 +392,11 @@ body.animating-layout top: 0; } +/* Disable link navigation in editor - allow editing instead of clicking */ +.ProseMirror a { + pointer-events: none; +} + /* Mention styles */ .ProseMirror .mention { color: hsl(var(--primary));