Page tree

Versions Compared

Key

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

Status
colourYellow
title릴리즈 Release 2.2.1 이상
파일 타입별 업로드된 파일의 경로와 (path), 삭제되었는지 여부
or Above

Return the path of uploaded files by their file types (path) and whether they are deleted (isDeleted) in Object 형태로 반환합니다form.


Parameters:

Name

Type

Description

fileTypestring정보를 가져올 파일 타입입니다File type whose information shall be imported. ("image", "video", "file")

...

TypeAttributeDescription
Array
[
	{ path: "/upload/path/filename.png", isDeleted: false },
	{ path: "/upload/path/filename2.png", isDeleted: true },
	....
]
path 경로와, and isDeleted 삭제여부 데이터data


Example:

Code Block
languagejs
themeEmacs
var filesData = editor.getUploadedFiles();

...

Anchor
getUploadedFiles()
getUploadedFiles()
getUploadedFiles()




Status
title릴리즈 RELEASE 2.2.1 이상
파일 타입별 업로드된 파일의 경로와 (path), 삭제되었는지 여부
OR ABOVE


Return the path of uploaded files by their file types (path) and whether they are deleted (isDeleted) in Object 형태로 반환합니다form.


Parameters:

Name

Type

Description

fileTypeString파일 타입 정보를 넣지 않을 경우When file type information is not entered


Return:

TypeAttributeDescription
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
languagejs
themeEmacs
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