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