mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2024-06-09 17:32:19 +02:00
Update simplemde.js
customize promptTexts for non-english users
This commit is contained in:
parent
44b5b14e9b
commit
a8c7373cf3
|
@ -1387,7 +1387,7 @@ function SimpleMDE(options) {
|
|||
|
||||
|
||||
// Merging the promptTexts, with the given options
|
||||
options.promptTexts = promptTexts;
|
||||
options.promptTexts = extend({}, promptTexts, options.promptTexts || {});
|
||||
|
||||
|
||||
// Merging the blockStyles, with the given options
|
||||
|
@ -2079,4 +2079,4 @@ SimpleMDE.prototype.toTextArea = function() {
|
|||
}
|
||||
};
|
||||
|
||||
module.exports = SimpleMDE;
|
||||
module.exports = SimpleMDE;
|
||||
|
|
Loading…
Reference in a new issue