| Status | ||||||
|---|---|---|---|---|---|---|
|
업로드 된 파일의 타입에 해당하는 업로드 경로를 추가합니다.
업로드시 직접 이 메소드를 통해 경로를 설정해주어야 This object adds a upload path for the file type of uploaded file.
You may get the result from editor.getUploadedFiles() 에서 확인 가능합니다only when you have set the upload path during the upload through this method.
Parameters:
Name | Type | Description |
|---|---|---|
| fileType | String | 경로를 추가할 파일의 타입입니다File type whose upload path shall be added. ("image", "video", "file") |
| uploadPath | String파일이 | 업로드된 경로입니다Path in which the file is uploaded. |
Example:
| Code Block | ||
|---|---|---|
| ||
editor.addUploadPath("image", "upload/path/filename.png"); |
...
...
Example
1.
...
Limiting the Number of Image Upload
| Include Page | ||||
|---|---|---|---|---|
|
...