mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 00:03:27 +10:00
Instantiate Link with inclusive set to false
Ensures consistent behavior with other common text editors, wherein after applying a link to text, the following text does not also contain the link
This commit is contained in:
@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user