From b61bec8bb9ccd2cea0087deb8d9d86f5733969b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Mon, 13 May 2019 23:27:31 +0200 Subject: [PATCH] fix #311 --- packages/tiptap-extensions/src/marks/Link.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)