From 125200fb354ac0c127ed3c301a9d9c2a62684ed9 Mon Sep 17 00:00:00 2001 From: Konrad Mohrfeldt Date: Thu, 9 Feb 2017 17:07:11 +0100 Subject: [PATCH] allow promptTexts to be translated via options --- src/js/simplemde.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/simplemde.js b/src/js/simplemde.js index 016d693..2317389 100644 --- a/src/js/simplemde.js +++ b/src/js/simplemde.js @@ -1354,7 +1354,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