DiffItemInsert (engine/model)
@ckeditor/ckeditor5-engine/src/model/differ
class
The single diff item for inserted nodes.
Filtering
Properties
-
attributes : Map.<String, *>
Map of attributes that were set on the item while it was inserted.
-
length : Number
The length of an inserted text node. For elements it is always 1 as each inserted element is counted as a one.
-
name : String
The name of the inserted elements or
'$text'
for a text node. -
The position where the node was inserted.
-
type : 'insert'
The type of diff item.
Every day, we work hard to keep our documentation complete. Have you spotted an outdated information? Is something missing? Please report it via our issue tracker.