@portabletext/editor 1.35.1 → 1.35.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_chunks-cjs/editor-provider.cjs +2 -0
- package/lib/_chunks-cjs/editor-provider.cjs.map +1 -1
- package/lib/_chunks-es/editor-provider.js +2 -0
- package/lib/_chunks-es/editor-provider.js.map +1 -1
- package/lib/plugins/index.cjs +42 -31
- package/lib/plugins/index.cjs.map +1 -1
- package/lib/plugins/index.js +42 -31
- package/lib/plugins/index.js.map +1 -1
- package/package.json +6 -6
- package/src/editor/mutation-machine.ts +2 -0
|
@@ -378,11 +378,13 @@ const FLUSH_PATCHES_THROTTLED_MS = process.env.NODE_ENV === "test" ? 500 : 1e3,
|
|
|
378
378
|
target: "idle",
|
|
379
379
|
actions: ["emit mutation", "clear pending patches"]
|
|
380
380
|
}, {
|
|
381
|
+
target: "has pending patches",
|
|
381
382
|
reenter: !0
|
|
382
383
|
}]
|
|
383
384
|
},
|
|
384
385
|
on: {
|
|
385
386
|
patch: {
|
|
387
|
+
target: "has pending patches",
|
|
386
388
|
actions: ["defer patch"],
|
|
387
389
|
reenter: !0
|
|
388
390
|
}
|