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:
parent
f573560bb4
commit
2d0facd3ff
@ -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…
x
Reference in New Issue
Block a user