@mocanvas/mocanvas · constant

DEFAULT_MAX_ASSET_SIZE

declare const DEFAULT_MAX_ASSET_SIZE: number

The largest file the drop and paste paths will turn into an asset, in bytes.

A ceiling rather than a preference: an asset is inlined as a data URL until an app supplies an asset store, and a 50 MB data URL in a document is a document nothing can open. Apps that upload to their own storage raise it.

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.