Module

engine/view/treewalker

@ckeditor/ckeditor5-engine/src/view/treewalker

module

Filtering

Classes

  • TreeWalker

    Position iterator class. It allows to iterate forward and backward over the document.

Type Definitions

  • TreeWalkerDirection

    Tree walking directions.

  • TreeWalkerValue

    Object returned by TreeWalker when traversing tree view.

  • TreeWalkerValueType

    Type of the step made by TreeWalker. Possible values: 'elementStart' if walker is at the beginning of a node, 'elementEnd' if walker is at the end of node, or 'text' if walker traversed over single and multiple characters. For Text elementStart and elementEnd is not returned.