Function: foldPuckChange()
foldPuckChange(
data,prior,blockSlots):FoldedPuckChange
Defined in: foldPuckChange.ts:18
One Puck onChange folded back into a Nubbin draft. When nothing was created the
editor keeps Puck's own Data untouched — no churn mid-keystroke — but a node Puck
created gets a minted id, so the returned data is then re-derived from the folded
version and the controlled editor holds the minted id thereafter, exactly as the
adapter promises.
Parameters
data
prior
DocumentVersion
blockSlots
Record<string, readonly string[]>