Fired for inserted nodes.
insert
is a namespace for a class of events. Names of actually called events follow this pattern:
insert:name
. name
is either '$text'
, when a text node has been inserted,
or name of inserted element.
This way, the listeners can either listen to a general insert
event or specific event (for example insert:paragraph
).
TItem : extends ModelItem