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.
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. |
editor.addUploadPath("image", "upload/path/filename.png"); |