2
0
mirror of https://github.com/Ionaru/easy-markdown-editor synced 2025-09-24 16:40:55 -06:00

Update easymde

Signed-off-by: Dmitry Mazurov <dimabzz@gmail.com>
This commit is contained in:
Dmitry Mazurov 2020-03-19 11:59:53 +03:00
parent bb07b90c3d
commit 31d1f366b0

View File

@ -1633,8 +1633,10 @@ function EasyMDE(options) {
options.statusTexts = extend({}, statusTexts, options.statusTexts || {}); options.statusTexts = extend({}, statusTexts, options.statusTexts || {});
// Merging the Autosave timeFormat, with the given options if (options.autosave != undefined) {
options.autosave.timeFormat = extend({}, timeFormat, options.autosave.timeFormat || {}); // Merging the Autosave timeFormat, with the given options
options.autosave.timeFormat = extend({}, timeFormat, options.autosave.timeFormat || {});
}
// Merging the blockStyles, with the given options // Merging the blockStyles, with the given options