YSONTextNode represents a single character in a Text CRDT.
YSONTextNode
{ val: 'H', attrs: { bold: true } } Copy
{ val: 'H', attrs: { bold: true } }
Optional
Optional attributes (e.g., formatting)
The character value
YSONTextNoderepresents a single character in a Text CRDT.Example