@mocanvas/editor · interface

TLEmbedExternalContent

interface TLEmbedExternalContent extends TLBaseExternalContent

A URL the caller has already decided to embed.

Skips the bookmark/embed negotiation that TLUrlExternalContent triggers — which is the whole difference between the two.


Properties · 3

embed?: unknown

The definition the URL was matched against, when the caller already has it.

type: "embed"
url: string

Mentioned here

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.