Fired in the following cases:
attribute is a namespace for a class of events. Names of actually called events follow this pattern:
attribute:attributeKey:name. attributeKey is the key of added/changed/removed attribute.
name is either '$text' if change was on a text node,
or the name of element which attribute has changed.
This way listeners can either listen to a general attribute:bold event or specific event (for example attribute:src:imageBlock).
TItem : ModelItem | ModelSelection | ModelDocumentSelection