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