Class

ConversionHelpers (engine/conversion)

@ckeditor/ckeditor5-engine/src/conversion/conversionhelpers

class

Base class for conversion helpers.

Filtering

Type parameters

Properties

  • private readonly

    _dispatchers : Array<TDispatcher>

Methods

  • constructor( dispatchers )

    Creates a conversion helpers instance.

    Type parameters

    TDispatcher

    Parameters

    dispatchers : Array<TDispatcher>
  • add( conversionHelper ) → ConversionHelpers<TDispatcher>

    Registers a conversion helper.

    Note: See full usage example in the conversion.for() method description.

    Parameters

    conversionHelper : ( TDispatcher ) => void

    The function to be called on event.

    Returns

    ConversionHelpers<TDispatcher>