mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2025-09-24 16:40:55 -06:00
Fixing inconsistent behaviour between drawLink() and drawImage().
I've noticed inconsistent behaviour between links and images. Here's a screencast to show what I mean: http://recordit.co/VeU4EJQeWP
This commit is contained in:
parent
25bbed7ae8
commit
bcb5951ac0
@ -203,7 +203,7 @@ function drawLink(editor) {
|
|||||||
function drawImage(editor) {
|
function drawImage(editor) {
|
||||||
var cm = editor.codemirror;
|
var cm = editor.codemirror;
|
||||||
var stat = getState(cm);
|
var stat = getState(cm);
|
||||||
_replaceSelection(cm, stat.image, '');
|
_replaceSelection(cm, stat.image, '');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user