Defensive gate: the browser DSL executor clones the doc, mutates it across all ops, then applies the final doc back in ONE call. A regression that applied per-op would thrash React + history state for no benefit (the surrounding startBatch already wraps it into one undo entry anyway). Spy on `applyExternalDocument` and assert it's called exactly once per 4-op batch. |
||
|---|---|---|
| .. | ||
| cli | ||
| desktop | ||
| web | ||