defaultHandleExternalFileAsset
See source codefunction defaultHandleExternalFileAsset(
editor: Editor,
{ file, assetId }: TLFileExternalAsset,
{
acceptedImageMimeTypes,
acceptedVideoMimeTypes,
maxAssetSize,
maxImageDimension,
toasts,
msg,
}: TLDefaultExternalContentHandlerOpts
): Promise<TLAsset>
Parameters
Name | Description |
---|---|
| |
| |
|
Returns
Promise<TLAsset>
Prev
defaultHandleExternalEmbedContentNext
defaultHandleExternalFileContent