mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2024-06-18 13:45:04 +02:00
Update simplemde.js
Improve user experience when inserting image.
This commit is contained in:
parent
44b5b14e9b
commit
951740b0df
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue