TLFileReplaceExternalContent

See source code
Table of contents

Extends TLBaseExternalContent.

interface TLFileReplaceExternalContent extends TLBaseExternalContent {}

Properties

file

file: File;

isImage

Deprecated: This field is no longer used by the default handler. It may be removed in a future version.

isImage: boolean;

point

optional
point?: VecLike;

shapeId

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: "file-replace";

Prev
TLFileExternalAsset
Next
TLFilesExternalContent