fix(desktop): prevent URL highlight from bleeding past link boundary (#452)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Wes
2026-05-02 08:52:49 -07:00
committed by GitHub
co-authored by Claude Opus 4.6
parent c9f287958d
commit 83e5fb6494
@@ -183,7 +183,11 @@ export function useRichTextEditor({
Placeholder.configure({
placeholder: () => placeholderRef.current ?? "Write a message…",
}),
Link.configure({
Link.extend({
inclusive() {
return false;
},
}).configure({
openOnClick: false,
autolink: true,
linkOnPaste: true,