Merge pull request #1727 from CorreyL/main

[Bugfix] Instantiate Link with inclusive set to false
This commit is contained in:
Amruth Pillai
2024-03-10 10:04:27 +01:00
committed by GitHub

View File

@ -440,7 +440,7 @@ export const RichInput = forwardRef<Editor, RichInputProps>(
Image, Image,
Underline, Underline,
Highlight, Highlight,
Link.configure({ openOnClick: false }), Link.extend({ inclusive: false }).configure({ openOnClick: false }),
TextAlign.configure({ types: ["heading", "paragraph"] }), TextAlign.configure({ types: ["heading", "paragraph"] }),
], ],
editorProps: { editorProps: {