diff --git a/src/js/simplemde.js b/src/js/simplemde.js index 9b50513..c61fd6f 100644 --- a/src/js/simplemde.js +++ b/src/js/simplemde.js @@ -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; \ No newline at end of file +module.exports = SimpleMDE;