@mocanvas/mocanvas · function

defaultHandleExternalTldrawContent

declare function defaultHandleExternalTldrawContent(editor: Editor, info: {
    content: unknown;
} & AtPoint): Promise<void>

mocanvas's own clipboard content: shapes, bindings and assets, put back onto the current page.

Goes through putContentOntoCurrentPage, so ids are remapped, the content is migrated from whatever schema it was written under, and a paste with a point lands inside whatever frame is under it.

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.