insert
delta is always a string in Y.Text. Furthermore, Y.Text also allows assigning formatting attributes to the inserted text."abc"
at index-position 1 and make the insertion bold. Then we skip another character and insert "xyz"
without formatting attributes. E.g.retain
delta may also contain formatting attributes that are applied on the retained text.insert
delta is always an Array of inserted content in Y.Array & Y.XmlFragment.