@mocanvas/editor · function
declare function registerEngineProvider(provider: EditorEngineProvider | null): () => voidInstall the fallback behind new Editor({ ... }) with no engine.
mocanvas registers one at import time that hands back the engine
loadEngine() last produced. Returns a function that removes the provider
again (only if it is still the registered one).
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.