allow promptTexts to be translated via options

This commit is contained in:
Konrad Mohrfeldt 2017-02-09 17:07:11 +01:00
parent 6abda7ab68
commit 125200fb35

View file

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