@portabletext/editor 1.43.0 → 1.43.1
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.
|
@@ -2211,7 +2211,7 @@ async function* getBlocks({
|
|
|
2211
2211
|
}) {
|
|
2212
2212
|
let index = 0;
|
|
2213
2213
|
for await (const block of slateValue)
|
|
2214
|
-
streamBlocks && await new Promise((resolve) => setTimeout(resolve, 0)), yield [block, index], index++;
|
|
2214
|
+
streamBlocks && index % 10 === 0 && await new Promise((resolve) => setTimeout(resolve, 0)), yield [block, index], index++;
|
|
2215
2215
|
}
|
|
2216
2216
|
function syncBlock({
|
|
2217
2217
|
context,
|