Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Status
colourYellow
title릴리즈 2.2.1 이상

업로드 된 파일의 타입에 해당하는 업로드 경로를 추가합니다.

업로드시 직접 이 메소드를 통해 경로를 설정해주어야 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

fileTypeString경로를 추가할 파일의 타입입니다File type whose upload path shall be added. ("image", "video", "file")
uploadPathString파일이 업로드된 경로입니다Path in which the file is uploaded.


Example:

Code Block
languagejs
editor.addUploadPath("image", "upload/path/filename.png");

...


...

Example

1.

...

Limiting the Number of Image Upload

Include Page
DEMO:이미지 업로드 수 제한하기
DEMO:이미지 업로드 수 제한하기

...