Interface

DiffItemRemove (engine/model)

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

interface

A single diff item for removed nodes.

Filtering

Properties

  • attributes : Map<string, unknown>

    Map of attributes that were set on the item while it was removed.

  • length : number

    The length of a removed text node. For elements, it is always 1, as each removed element is counted as a one.

  • name : string

    The name of the removed element or '$text' for a text node.

  • position : Position

    The position where the node was removed.

  • type : 'remove'

    The type of diff item.