New
- UndoManager’s
onPushnow can access the change event. - add getShallowValue for each container.
LoroDoc
toJsonWithReplacer(replacer: (k, v)=>Value): Convert the document to a JSON value with a custom replacer function.revertTo(frontiers: Frontiers): Revert the document to the given frontiers.findIdSpansBetween(from: Frontiers, to: Frontiers): Find the op id spans that between thefromversion and thetoversion.exportJsonInIdSpan(idSpan: IdSpan): Export the readable [Change]s in the given [IdSpan].