Change position of cursor when adding a link

pull/409/head
Daniël van Noord 2 years ago committed by GitHub
parent f573560bb4
commit 2d0facd3ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -850,7 +850,7 @@ function drawLink(editor) {
}
url = escapePromptURL(url);
}
_replaceSelection(cm, stat.link, options.insertTexts.link, url);
_replaceSelection(cm, false, options.insertTexts.link, url);
}
/**

Loading…
Cancel
Save