Status | ||||
---|---|---|---|---|
|
파일 타입별 업로드된 파일의 경로와 Return the path of uploaded files by their file types (path) , 삭제되었는지 여부 and whether they are deleted (isDeleted) 를 in Object 형태로 반환합니다form.
Parameters:
Name | Type | Description |
---|---|---|
fileType | string | 정보를 가져올 파일 타입입니다File type whose information shall be imported. ("image", "video", "file") |
...
Type | Attribute | Description |
---|---|---|
Array | [ { path: "/upload/path/filename.png", isDeleted: false }, { path: "/upload/path/filename2.png", isDeleted: true }, .... ] | path 경로와, and isDeleted 삭제여부 데이터data |
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
var filesData = editor.getUploadedFiles(); |
...
getUploadedFiles()
Anchor
getUploadedFiles() getUploadedFiles()
Status | ||
---|---|---|
|
파일 타입별 업로드된 파일의 경로와 Return the path of uploaded files by their file types (path) , 삭제되었는지 여부 and whether they are deleted (isDeleted) 를 in Object 형태로 반환합니다form.
Parameters:
Name | Type | Description |
---|---|---|
fileType | String | 파일 타입 정보를 넣지 않을 경우When file type information is not entered |
Return:
Type | Attribute | Description |
---|---|---|
Object | { image: [ { path: "/upload/path/filename.png", isDeleted: false }, { path: "/upload/path/filename2.png", isDeleted: true }, .... ], video: [], file: [] } | path 경로와, and isDeleted 삭제여부 데이터data |
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
var filesData = editor.getUploadedFiles(); |
...
...
Example
1.
...
Limiting the Number of Image Upload
Include Page | ||||
---|---|---|---|---|
|