ConverterDefinition (engine/conversion)
@ckeditor/ckeditor5-engine/src/conversion/conversion
Defines how the model should be converted from and to the view.
Filtering
Properties
-
The converter priority.
-
The model conversion definition. Describes the model element or model attribute to convert. This parameter differs for different functions that accept
ConverterDefinition
. See the description of the function to learn how to set it. -
Any view element matching
upcastAlso
will also be converted to the model. Ifmodel
describes multiple values,upcastAlso
is an object that assigns these values (upcastAlso
object keys) toMatcherPattern
s (upcastAlso
object values). -
The definition of the view element to convert from and to. If
model
describes multiple values,view
is an object that assigns these values (view
object keys) to view element definitions (view
object values).
Every day, we work hard to keep our documentation complete. Have you spotted an outdated information? Is something missing? Please report it via our issue tracker.