Module

list/documentlist/utils/listwalker

@ckeditor/ckeditor5-list/src/documentlist/utils/listwalker

module

Filtering

Classes

  • ListBlocksIterable

    protected

    The iterable protocol over the list elements.

  • ListWalker

    Document list blocks iterator.

Type Definitions

  • ListIteratorValue

    protected

    Object returned by iterateSiblingListBlocks() when traversing a list.

Functions

  • iterateSiblingListBlocks( node, [ direction ] ) → Iterator.<ListIteratorValue>

    protected

    Iterates sibling list blocks starting from the given node.

    Parameters

    node : Node

    The model node.

    [ direction ] : 'backward' | 'forward'

    Iteration direction.

    Defaults to 'forward'

    Returns

    Iterator.<ListIteratorValue>

    The object with node and previous blocks.