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.
This commit is contained in:
Claude
2026-01-22 12:07:59 +00:00
parent b002336cff
commit e60ba668d1

View File

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