Skip to content

ClipboardManager.insertFiles method

ClipboardManager › insertFiles

Unofficial

Insert files from drop-event into the editor.

Signature:

insertFiles(importedAttachments: ImportedAttachment[]): Promise<void>

Parameters:

Parameter Type Description
importedAttachments ImportedAttachment[] Attachments to insert.

Returns: Promise<void>A promise that resolves when all files are inserted.