Insert caption to the selected image.


Parameters:

NameTypeDescription
actionNameString'insertDrawingObjectCaption' image caption inserting API
captionStringCaption


Example:

editor.execCommand('insertDrawingObjectCaption', 'Caption of image');