@mocanvas/editor · interface
interface EditorStorePropsThis one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.
Properties · 2
assets: AssetStoreWhere the bytes behind this document's assets live.
It hangs off the *store* rather than the editor because assets are document-scoped: a snapshot loaded into a store, exported from it, or synced out of it all need the same uploader, and some of that happens with no editor mounted at all.
Always present — an app that supplies none gets
createInMemoryAssetStore, so store.props.assets.upload is never
a null check at a call site.
defaultName: stringmocanvas 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.