Use "editor.import.api
", "editor.upload.image.api
", "editor.upload.video.api
", "editor.upload.file.api
" keys to configure upload / import APIs.
Server API addresses (URL) should correspond to those of back-end implementation details. Please refer to Integration page for further information.
Configuration Method
Key | Descriptions | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
editor.import.maxSize | Sets Set the maximum importable file size. (unit - byte, default - 10MB) This value is set by the browser (client) , and the maximum importable file size may vary depending on the server configuration. | |||||||||
editor.import.api | Set import API for import (URL). This API(URL) can be used to send the document file.임포트 API(URL)를 설정합니다. 해당 Document files will be sent to the designated API (URL)로 문서 파일을 전송합니다. | |||||||||
editor.import.param | Set the parameter to send along be sent with the import request. | |||||||||
editor.import.headers |
| 임포트 요청시 함께 전송 할 파라메터를 설정합니다
| ||||||||
editor.upload.maxSize | Set the maximum uploadable file size. (unit - byte, default - 3MB) 업로드 최대 파일사이즈를 설정합니다 (단위 byte, 기본값 3MB) As this value o f file size This value is set by the browser (client) , and the value of maximum uploadable file size following may vary depending on the server configuration is distinguished from it. | |||||||||
editor.upload.image.api | Set the API for uploading image. This image upload API (URL) can . Images will be used sent to send the image.이미지 업로드 API(URL)을 설정합니다. 해당 the designated API (URL)로 이미지를 전송합니다. | |||||||||
editor.upload.image.param | Set the parameter to send along be sent with the image upload image request.이미지 업로드 요청시 함께 전송 할 파라메터를 설정합니다request. | |||||||||
editor.upload.image.headers |
| |||||||||
editor.upload.video.api | Set the parameter for uploading video. This video upload API (URL) can . Videos will be used sent to send the video. 동영상 업로드 API(URL)을 설정합니다. 해당 the designated API (URL)로 동영상을 전송합니다. | |||||||||
editor.upload.video.param | Set the parameter to send along be sent with the video upload video request.동영상 업로드 요청시 함께 전송 할 파라메터를 설정합니다request. | |||||||||
editor.upload.video.headers |
| |||||||||
editor.upload.file.api | Set the parameter for uploading file. This file upload API (URL) can . Files will be sued sent to send the file.파일 업로드 API(URL)을 설정합니다. 해당 the designated API (URL)로 파일을 전송합니다. | |||||||||
editor.upload.file.param | Set the parameter to send along be sent with the file upload file request. 파일 업로드 요청시 함께 전송 할 파라메터를 설정합니다. |
request. | |||||||
editor.upload.file.headers |
|
Configuration Example
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ 'editor.import.maxSize': 10485760, 'editor.import.api': '/importDoc', 'editor.import.param': {}, 'editor.upload.maxSize': 3145728, 'editor.upload.image.api': '/uploadImage', 'editor.upload.image.param': {}, 'editor.upload.video.api': '/uploadVideo', 'editor.upload.video.param': {}, 'editor.upload.file.api': '/uploadFile', 'editor.upload.file.param': {}, } |
관련기능
See also
- Setting Uploadable Extension
- Always Overwriting during Import
- Using Base64 Image
- Setting File Field Name for formData