T - The data type for the insert operation.
The Delta type can be one of three distinct shapes:
Insert Operation:
insert: The item to be inserted, of type T.attributes: (Optional) A dictionary of attributes, describing styles in richtextDelete Operation:
delete: The number of elements to delete.Retain Operation:
retain: The number of elements to retain.attributes: (Optional) A dictionary of attributes, describing styles in richtext
Represents a
Deltatype which is a union of different operations that can be performed.