@mocanvas/mocanvas · function
declare function putExcalidrawContent(editor: Editor, excalidrawClipboardContent: unknown, point?: VecLike): Promise<void>Put Excalidraw clipboard content onto the current page, centred on point.
The elements' own coordinates are preserved relative to one another, so a pasted diagram keeps its layout; the whole group is then translated so its centre lands where the paste happened.
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.