@mocanvas/editor · function

setRuntimeOverrides

declare function setRuntimeOverrides(overrides: Partial<TLRuntime>): void

Replace some or all of the runtime's side effects.

Merges, so a host that only needs to intercept link opening leaves reload and reset alone. Call it once, before an editor is mounted.

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.