registerDefaultExternalContentHandlers
See source codefunction registerDefaultExternalContentHandlers(
editor: Editor,
{
maxImageDimension,
maxAssetSize,
acceptedImageMimeTypes,
acceptedVideoMimeTypes,
}: Required<TLExternalContentProps>,
{
toasts,
msg,
}: {
msg: ReturnType<typeof useTranslation>
toasts: TLUiToastsContextType
}
): void
Parameters
Name | Description |
---|---|
| |
|
|
|
|
Returns
void
Prev
preloadFontNext
registerDefaultSideEffects