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

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:

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