Page tree

Versions Compared

Key

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

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

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

...

Insert file at the caret position in the form of hyperlink.

Inserted files are uploaded to the server.

Related setting : Setting Import API and Upload API


Parameters:

NameTypeDescription
actionNameString액션 이름'insertFile' file inserting API
filesFile[]

업로드할 파일[file, file ...]: Array including file object


Example:

Code Block
languagejs
themeEmacs
editor.execCommand('insertFile', [file]);

...