Update simplemde.js

customize promptTexts for non-english users
This commit is contained in:
ucev 2017-03-09 23:19:04 +08:00 committed by GitHub
parent 44b5b14e9b
commit a8c7373cf3

View file

@ -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;