Typedef

DowncastElementCreatorFunction (engine/conversion)

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

typedeffunction

Filtering

Parameters

element : ModelElement

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 : ModelItem

Inserted item.

data.range : ModelRange

Range spanning over inserted item.

Returns

ViewElement | null

The view element.