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,
|
||||
Underline,
|
||||
Link.configure({
|
||||
openOnClick: false,
|
||||
openOnClick: true,
|
||||
validate: (href: string) => /^https?:\/\//.test(href),
|
||||
}),
|
||||
Table.configure({
|
||||
|
Loading…
x
Reference in New Issue
Block a user