Closed jsonkao closed 6 months ago
When saving YJS docs, create a new instance and populate it with the same XML text nodes, rather than using the original YJS doc.
But... what if a new client connects right after the original doc is overwritten? Or right before?
Closed with https://github.com/jsonkao/us-cms/commit/0df15653a82a77569ef622433bfe42fbb28c5bbd
When saving YJS docs, create a new instance and populate it with the same XML text nodes, rather than using the original YJS doc.
But... what if a new client connects right after the original doc is overwritten? Or right before?