putExcalidrawContent

See source code

Put excalidraw clipboard content onto the current page.

function putExcalidrawContent(
  editor: Editor,
  excalidrawClipboardContent: any,
  point?: VecLike
): Promise<void>

Parameters

NameDescription

editor

The editor instance.

excalidrawClipboardContent

any

The excalidraw clipboard model.

point

The point at which to put the excalidraw content.

Returns

Promise<void>
Prev
preloadFont
Next
registerDefaultExternalContentHandlers
hi

We use cookies on this website.
Learn more in our Cookie Policy.