Move the selected image or video.
Parameters:
Name | Type | Description |
---|---|---|
actionName | String | 'moveDrawingObject' image or video moving API |
x | Number | x coordinate to move to |
y | Number | y coordinate to move to |
isFinish | Boolean | Whether moving is finished (it is recommended to apply isFinish true when execCommand is moved) |
Example:
editor.execCommand('moveDrawingObject', 100, 100, true);