Skip to content

Commit

Permalink
Correctly implemented the source param in change
Browse files Browse the repository at this point in the history
  • Loading branch information
hectoreccles committed Jan 17, 2025
1 parent fa142d0 commit 64cc94b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/quill/src/modules/history.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class History extends Module<HistoryOptions> {
});
this.lastRecorded = 0;
this.ignoreChange = true;
this.quill.updateContents(item.delta, Quill.sources.USER);
this.quill.updateContents(item.delta, source);
this.ignoreChange = false;

this.restoreSelection(item);
Expand Down

0 comments on commit 64cc94b

Please sign in to comment.