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

Move the selected image or video.


Parameters:

NameTypeDescription
actionNameString'moveDrawingObject' image or video moving API
xNumberx coordinate to move to
yNumbery coordinate to move to
isFinishBoolean

Whether moving is finished (it is recommended to apply isFinish true when execCommand is moved)


Example:

editor.execCommand('moveDrawingObject', 100, 100, true);
  • No labels