...
Name | Type | Description | |
---|---|---|---|
[fileType] | string | 정보를 가져올 파일 타입입니다. ("image", "video", "file") | optional |
Return:
[fileType이 있는 경우]
Type | Attribute | Description |
---|---|---|
Array | [ { path: "/upload/path/filename.png", isDeleted: false }, { path: "/upload/path/filename2.png", isDeleted: true }, //... ] | path: 업로드 경로 isDeleted: 에디터에서 해당 파일의 삭제 여부 |
[fileType이 없는 경우]
Type | Attribute | Description |
---|---|---|
Object | {
image: [
{ path: "/upload/path/filename.png", isDeleted: false },
{ path: "/upload/path/filename2.png", isDeleted: true },
//...
],
video: [],
file: []
} | path: 업로드 경로 isDeleted: 에디터에서 해당 파일의 삭제 여부 |
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
var filesData = editor.getUploadedFiles(); var filesData2 = editor.getUploadedFiles('image'); |
...