Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

Instantiate Link with inclusive set to false

CorreyL176cac4fbe5f
diff --git a/libs/ui/src/components/rich-input.tsx b/libs/ui/src/components/rich-input.tsx
index d9c716844..6b6f2f3b2 100644
--- a/libs/ui/src/components/rich-input.tsx
+++ b/libs/ui/src/components/rich-input.tsx
@@ -440,7 +440,7 @@ export const RichInput = forwardRef<Editor, RichInputProps>(
Image,
Underline,
Highlight,
- Link.configure({ openOnClick: false }),
+ Link.extend({ inclusive: false }).configure({ openOnClick: false }),
TextAlign.configure({ types: ["heading", "paragraph"] }),
],
editorProps: {