# ConversionHelpers

class

Base class for conversion helpers.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/conversion/conversionhelpers.ts#L13)

<a id="type-parameters">

## Type parameters

### `TDispatcher`

<a id="properties">

## Properties

<a id="member-_dispatchers">

### `_dispatchers: Array<TDispatcher>` _(private)_

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/conversion/conversionhelpers.ts#L14)

<a id="methods">

## Methods

<a id="function-constructor">

### `constructor( dispatchers )`

Creates a conversion helpers instance.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/conversion/conversionhelpers.ts#L19)

#### Type parameters

* `TDispatcher`

#### Parameters

* `dispatchers: Array<TDispatcher>`

<a id="function-add">

### `add( conversionHelper ) → this`

Registers a conversion helper.

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

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/conversion/conversionhelpers.ts#L31)

#### Parameters

* `conversionHelper: ( dispatcher: TDispatcher ) => void`

  The function to be called on event.

#### Returns

* `this`

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
