Interface

DifferSnapshot (engine/model)

@ckeditor/ckeditor5-engine/src/model/differ

interface

A snapshot is representing state of a given element before the first change was applied on that element.

Filtering

Properties

  • attributes : Map<string, unknown>

    Attributes of the node at the time when the snapshot was made.

  • name : string

    Name of the element at the time when the snapshot was made. For text node snapshots, it is set to '$text'.

  • node : Node

    Node for which was snapshot was made.