From f52867f2e8e2c327034ba96934da08d7a6ae0065 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 4 Dec 2020 16:01:51 +0100 Subject: [PATCH] c/p error --- src/create/CreateLinkView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/create/CreateLinkView.js b/src/create/CreateLinkView.js index c4ae494..3dcebcd 100644 --- a/src/create/CreateLinkView.js +++ b/src/create/CreateLinkView.js @@ -21,7 +21,7 @@ function selectNode(node) { let selection = window.getSelection(); selection.removeAllRanges(); let range = document.createRange(); - range.selectNode(copyNode); + range.selectNode(node); selection.addRange(range); }