...
관련 설정 보기: Import API 및 Upload API 설정
Parameters:
Name | Type | Description |
---|---|---|
actionName | String | 액션 이름 |
files | File[] | 업로드할 이미지/비디오 |
type | String | 파일 타입 'Image', 'Video' |
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
editor.execCommand('insertDrawingObject', [file], 'Image'); editor.execCommand('insertDrawingObject', [file], 'Video'); |
...