image/imagecaption/utils
@ckeditor/ckeditor5-image/src/imagecaption/utils
module
Filtering
Functions
-
captionElementCreator( view, placeholderText ) → function
-
getCaptionFromImage( imageModelElement ) → Element | null
Returns the caption model element from a given image element. Returns
null
if no caption is found. -
isCaption( viewElement ) → Boolean
Returns
true
if a given view element is the image caption editable. -
matchImageCaption( element ) → Object | null
Matcher
pattern. Checks if a given element is a<figcaption>
element that is placed inside the image<figure>
element.