@mocanvas/editor · interface

TLExcalidrawExternalContent

interface TLExcalidrawExternalContent extends TLBaseExternalContent

A drawing exported from Excalidraw.

Only the *data shape* is declared here. Reading it — mapping Excalidraw's element model onto canvas shapes — is deliberately not implemented: it is an import path for another vendor's format, and it is listed as out of scope. The type exists so a host that wants that import can register a handler for it against the same registry as everything else, and so TLExternalContentSource can name the case where a paste turns out to be an Excalidraw clipboard.


Properties · 2

content: unknown
type: "excalidraw"

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.