html-support/converters
@ckeditor/ckeditor5-html-support/src/converters
Filtering
Functions
-
attributeToViewInlineConverter( definition ) → function
module:html-support/converters~attributeToViewInlineConverter
Attribute-to-view conversion helper applying attributes to view element preserved on
$text
.Parameters
definition : DataSchemaInlineElementDefinition
Returns
function
Returns a conversion callback.
-
createObjectView( viewName, modelElement, writer ) → Element
module:html-support/converters~createObjectView
Creates object view element from the given model element.
-
modelToViewBlockAttributeConverter( definition ) → function
module:html-support/converters~modelToViewBlockAttributeConverter
Model-to-view conversion helper applying attributes preserved in
htmlAttributes
attribute for block elements.Parameters
definition : DataSchemaBlockElementDefinition
Returns
function
Returns a conversion callback.
-
toObjectWidgetConverter( editor, definition ) → function
module:html-support/converters~toObjectWidgetConverter
Conversion helper converting an object element to an HTML object widget.
Parameters
editor : Editor
definition : DataSchemaInlineElementDefinition
Returns
function
Returns a conversion callback.
-
viewToAttributeInlineConverter( definition, dataFilter ) → function
module:html-support/converters~viewToAttributeInlineConverter
View-to-attribute conversion helper preserving inline element attributes on
$text
.Parameters
definition : DataSchemaInlineElementDefinition
dataFilter : DataFilter
Returns
function
Returns a conversion callback.
-
viewToModelBlockAttributeConverter( definition, dataFilter ) → function
module:html-support/converters~viewToModelBlockAttributeConverter
View-to-model conversion helper preserving allowed attributes on block element.
All matched attributes will be preserved on
htmlAttributes
attribute.Parameters
definition : DataSchemaBlockElementDefinition
dataFilter : DataFilter
Returns
function
Returns a conversion callback.
-
viewToModelObjectConverter( definition ) → function
module:html-support/converters~viewToModelObjectConverter
View-to-model conversion helper for object elements.
Preserves object element content in
htmlContent
attribute.Parameters
definition : DataSchemaDefinition
Returns
function
Returns a conversion callback.
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.