Report an issue
Module

engine/model/range

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

module

Filtering

Classes

  • Range

    Range class. Range is iterable.

Functions

  • getItems( options ) → Iterable.<Item>

    Returns an iterator that iterates over all items that are in this range and returns them.

    This method uses TreeWalker with boundaries set to this range and ignoreElementEnd option set to true. However it returns only model items, not TreeWalkerValue.

    You may specify additional options for the tree walker. See TreeWalker for a full list of available options.

    Parameters

    options : Object

    Object with configuration options. See TreeWalker.

    Returns

    Iterable.<Item>