Typedef

ElementCreatorFunction (engine/conversion)

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

typedef
function

A view element creator function that takes the model element and downcast conversion API as parameters and returns a view container element.

Filtering

Parameters

element : Element

The model element to be converted to the view structure.

conversionApi : DowncastConversionApi

The conversion interface.

data : Object

Additional information about the change (same as for insert event).

Properties
data.item : Item

Inserted item.

data.range : Range

Range spanning over inserted item.

Returns

Element

The view element.

Related: