| Status |
|---|
| colour | Yellow |
|---|
| title | 릴리즈 Release 2.2.1 이상 |
|---|
|
파일 타입별 업로드된 파일의 경로와 (path), 삭제되었는지 여부 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(); |
...
| Anchor |
|---|
| getUploadedFiles() |
|---|
| getUploadedFiles() |
|---|
|
getUploadedFiles()
| Status |
|---|
| title | 릴리즈 RELEASE 2.2.1 이상 |
|---|
|
파일 타입별 업로드된 파일의 경로와 (path), 삭제되었는지 여부
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 |
|---|
| DEMO:이미지 업로드 수 제한하기 | DEMO:이미지 업로드 수 제한하기SEDEMO:Limiting the Number of Image Upload |
|---|
| SEDEMO:Limiting the Number of Image Upload |
|---|
|