Page tree
Skip to end of metadata
Go to start of metadata

Insert caption to the selected image.


Parameters:

NameTypeDescription
actionNameString'insertDrawingObjectCaption' image caption inserting API
captionStringCaption


Example:

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