mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-15 02:59:01 +08:00
fix #311
This commit is contained in:
parent
e881d0a6a4
commit
b61bec8bb9
@ -55,7 +55,7 @@ export default class Link extends Mark {
|
|||||||
return [
|
return [
|
||||||
new Plugin({
|
new Plugin({
|
||||||
props: {
|
props: {
|
||||||
handleClickOn(view, pos, node, nodePos, event) {
|
handleClick: (view, pos, event) => {
|
||||||
const { schema } = view.state
|
const { schema } = view.state
|
||||||
const attrs = getMarkAttrs(view.state, schema.marks.link)
|
const attrs = getMarkAttrs(view.state, schema.marks.link)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user