mirror of
https://github.com/block/buzz.git
synced 2026-11-12 04:12:21 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user