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); }