feat(editor): open links when clicking on them
This commit is contained in:
@ -239,7 +239,7 @@ const editor = useEditor({
|
||||
Typography,
|
||||
Underline,
|
||||
Link.configure({
|
||||
openOnClick: false,
|
||||
openOnClick: true,
|
||||
validate: (href: string) => /^https?:\/\//.test(href),
|
||||
}),
|
||||
Table.configure({
|
||||
|
Reference in New Issue
Block a user