2
0
mirror of https://github.com/Ionaru/easy-markdown-editor synced 2025-09-24 16:40:55 -06:00

Change position of cursor when adding a link

This commit is contained in:
Daniël van Noord 2022-02-26 15:47:42 +01:00 committed by GitHub
parent f573560bb4
commit 2d0facd3ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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