diff --git a/packages/tiptap-extensions/src/marks/Link.js b/packages/tiptap-extensions/src/marks/Link.js index 2ff3dec5e..03e56a502 100644 --- a/packages/tiptap-extensions/src/marks/Link.js +++ b/packages/tiptap-extensions/src/marks/Link.js @@ -55,7 +55,7 @@ export default class Link extends Mark { return [ new Plugin({ props: { - handleClickOn(view, pos, node, nodePos, event) { + handleClick: (view, pos, event) => { const { schema } = view.state const attrs = getMarkAttrs(view.state, schema.marks.link)