Implement InsertStringAtOffsets.
Preserve tree structure when splitting RichText.