캐럿이 위치한곳에 파일을 삽입합니다.

삽입한 파일은 서버로 업로드 됩니다.

관련 내용 보기: Import API 및 Upload API 설정 


Parameters:

NameTypeDescription
actionNameString액션이름
filesFile[]

업로드할 파일


Example:

editor.execCommand('insertFile', [file]);