Update simplemde.js

Improve user experience when inserting image.
This commit is contained in:
ucev 2017-03-01 20:27:34 +08:00 committed by GitHub
parent 44b5b14e9b
commit 951740b0df

View file

@ -1275,7 +1275,7 @@ var toolbarBuiltInButtons = {
var insertTexts = {
link: ["[", "](#url#)"],
image: ["![](", "#url#)"],
image: ["![", "](#url#)"],
table: ["", "\n\n| Column 1 | Column 2 | Column 3 |\n| -------- | -------- | -------- |\n| Text | Text | Text |\n\n"],
horizontalRule: ["", "\n\n-----\n\n"]
};
@ -2079,4 +2079,4 @@ SimpleMDE.prototype.toTextArea = function() {
}
};
module.exports = SimpleMDE;
module.exports = SimpleMDE;