image/image/converters
@ckeditor/ckeditor5-image/src/image/converters
module
Filtering
Functions
-
srcsetAttributeConverter() → function
Converter used to convert the
srcset
model image attribute to thesrcset
,sizes
andwidth
attributes in the view.Returns
function
-
viewFigureToModel() → function
Returns a function that converts the image view representation:
<figure class="image"><img src="..." alt="..."></img></figure>
to the model representation:
<image src="..." alt="..."></image>
The entire content of the
<figure>
element except the first<img>
is being converted as children of the<image>
model element.Returns
function