TLUrlExternalContent

See source code
Table of contents

Extends TLBaseExternalContent.

interface TLUrlExternalContent extends TLBaseExternalContent {}

Properties

point

optional
point?: VecLike;

shapeId

optional

A shape to set the url on, instead of creating a bookmark or an embed. The shape must have a url prop; the clipboard sets this when a link is pasted with one such shape selected.

shapeId?: TLShapeId;

sources

optional

The other content sources found on the clipboard alongside this content. For example, when pasting an image copied together with HTML and plain text, the files content will have text sources for the HTML and plain text parts.

sources?: TLExternalContentSource[];

type

type: "url";

url

url: string;

Prev
TLUrlExternalAsset
Next
TLUserPreferences