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 »

캐럿이 위치한 곳에 이미지, 비디오를 삽입합니다.
셀렉션 상태인 경우 셀렉션 구간을 제거 후 이미지, 비디오를 삽입합니다.


Parameters:

NameTypeDescription
actionNameString액션 이름
urlString

삽입할 이미지, 비디오 URL

typeString

파일 타입 'Image', 'Video'


Example:

editor.execCommand('insertDrawingObjectByURL', 'https://image.url/image', 'Image');
  • No labels