AttributeElementCreatorFunction (engine/conversion)
@ckeditor/ckeditor5-engine/src/conversion/downcasthelpers
Parameters
attributeValue : anyThe model attribute value to be converted to the view attribute element.
conversionApi : DowncastConversionApiThe conversion interface.
data : objectAdditional information about the change (same as for
attributeevent).Propertiesdata.attributeKey : stringAttribute key.
data.attributeNewValue : unknownNew attribute value.
data.attributeOldValue : unknownAttribute value before the change. This is
nullwhen selection attribute is converted.data.item : Item | Selection | DocumentSelectionChanged item or converted selection.
data.range : RangeRange spanning over changed item or selection range.
Returns
AttributeElement | nullThe view attribute element.
Every day, we work hard to keep our documentation complete. Have you spotted outdated information? Is something missing? Please report it via our issue tracker.
With the release of version 42.0.0, we have rewritten much of our documentation to reflect the new import paths and features. We appreciate your feedback to help us ensure its accuracy and completeness.