Skip to content

Commit

Permalink
Prevent further rich text entry from being part of a link
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-vari committed Oct 31, 2024
1 parent 2174789 commit 0cb4a89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/comps/rich-text/rich-text-area.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const RichTextArea = ({
const editor = useEditor({
extensions: [
StarterKit,
CustomLink.configure({
CustomLink.extend({ inclusive: false }).configure({
defaultProtocol: 'https',
}),
Placeholder.configure({ placeholder: placeholder }),
Expand Down

0 comments on commit 0cb4a89

Please sign in to comment.