@mocanvas/mocanvas · function
declare function registerDefaultSideEffects(editor: Editor): () => voidInstall the default side effects and return a function that removes them.
Safe to call more than once on one editor — each call installs its own handlers and its own disposer — though there is rarely a reason to.
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.