@fileverse-dev/ddoc 1.7.4 → 1.7.6

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.es.js CHANGED
@@ -59515,8 +59515,8 @@ const Lle = kt.create({
59515
59515
  }
59516
59516
  },
59517
59517
  autofocus: "start",
59518
- onTransaction: (D) => {
59519
- w != null && w.isEmpty || o == null || o(D.editor.getJSON());
59518
+ onTransaction: ({ editor: D, transaction: M }) => {
59519
+ D != null && D.isEmpty || M.docChanged && (o == null || o(D.getJSON()));
59520
59520
  },
59521
59521
  shouldRerenderOnTransaction: !0,
59522
59522
  immediatelyRender: !1
@@ -59532,7 +59532,7 @@ const Lle = kt.create({
59532
59532
  ]
59533
59533
  });
59534
59534
  return p([
59535
- ...h,
59535
+ ...h.filter((B) => B.name !== "history"),
59536
59536
  Mq.configure({
59537
59537
  document: d
59538
59538
  }),