Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Handle two editors with different toolbars on the same page
Browse files Browse the repository at this point in the history
  • Loading branch information
defr committed Jul 26, 2018
1 parent 5b3ceb8 commit 85350aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editormd.js
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@

var _this = this;
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;

Expand Down

0 comments on commit 85350aa

Please sign in to comment.