Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

캐럿이 위치한 곳에 이미지, 비디오를 삽입합니다.

셀렉션 상태인 경우 셀렉션된 구간을 제거 후 이미지, 비디오를 삽입합니다.

삽입한 이미지, 비디오는 서버로 업로드 됩니다.

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


Parameters:

NameTypeDescription
actionNameString액션 이름 
filesFile[]

업로드할 이미지/비디오

typeString파일 타입 'Image', 'Video'


Example:

editor.execCommand('insertDrawingObject', [file], 'Image');
editor.execCommand('insertDrawingObject', [file], 'Video');
  • No labels