We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5de97c1 commit 335314aCopy full SHA for 335314a
1 file changed
packages/designer/src/document/history.ts
@@ -41,6 +41,12 @@ export class History<T = NodeSchema> {
41
if (this.asleep) return;
42
untracked(() => {
43
const log = this.currentSerialization.serialize(data);
44
+
45
+ // do not record unchanged data
46
+ if (this.session.data === log) {
47
+ return;
48
+ }
49
50
if (this.session.isActive()) {
51
this.session.log(log);
52
} else {
0 commit comments