mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2024-06-08 00:42:31 +02:00
allow promptTexts to be translated via options
This commit is contained in:
parent
6abda7ab68
commit
125200fb35
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue