Browse Source

Merge pull request #604 from defr/master

Handle two editors with different toolbars on the same page
master
pandao 6 years ago
committed by GitHub
parent
commit
d69e3ed894
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      editormd.js

2
editormd.js

@ -365,7 +365,7 @@
var _this = this; var _this = this;
var classPrefix = this.classPrefix = editormd.classPrefix; var classPrefix = this.classPrefix = editormd.classPrefix;
var settings = this.settings = $.extend(true, editormd.defaults, options);
var settings = this.settings = $.extend(true, {}, editormd.defaults, options);
id = (typeof id === "object") ? settings.id : id; id = (typeof id === "object") ? settings.id : id;

Loading…
Cancel
Save