Typedef

StructureCreatorFunction (engine/conversion)

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

typedef
function

A function that takes the model element and downcast conversion API as parameters and returns a view container element with slots for model child nodes to be converted into.

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 structure with slots for model child nodes.

Related: