html-support/conversionutils
@ckeditor/ckeditor5-html-support/src/conversionutils
Filtering
Functions
-
mergeViewElementAttributes( target, source ) → Object
module:html-support/conversionutils~mergeViewElementAttributes
Merges view element attribute objects.
Parameters
target : Object
source : Object
Returns
Object
-
removeViewAttributes( writer, viewAttributes, viewElement )
module:html-support/conversionutils~removeViewAttributes
Helper function for the downcast converter. Removes attributes on the given view element.
Parameters
writer : DowncastWriter
The view writer.
viewAttributes : Object
The GHS attribute value.
viewElement : Element
The view element to update.
-
setViewAttributes( writer, viewAttributes, viewElement )
module:html-support/conversionutils~setViewAttributes
Helper function for the downcast converter. Sets attributes on the given view element.
Parameters
writer : DowncastWriter
The view writer.
viewAttributes : Object
The GHS attribute value.
viewElement : Element
The view element to update.
-
updateViewAttributes( writer, oldViewAttributes, newViewAttributes, viewElement )
module:html-support/conversionutils~updateViewAttributes
Helper function for the downcast converter. Updates attributes on the given view element.
Parameters
writer : DowncastWriter
The view writer.
oldViewAttributes : Object
The previous GHS attribute value.
newViewAttributes : Object
The current GHS attribute value.
viewElement : Element
The view element to update.
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.