If the child always has the same text as the parent, and cannot be edited directly, it seems more straightforward to model the child as a list of decorations.
If the child always has the same text as the parent, and cannot be edited directly, it seems more straightforward to model the child as a list of decorations.