@mocanvas/mocanvas · function
declare function loadTipTapDefaultExtensions(): Promise<readonly RichTextExtension[]>Load TipTap's StarterKit so getTipTapDefaultExtensions can return
real extensions.
Separate from getTipTapDefaultExtensions because that one has to be
synchronous — it is called while building the editor's options object — and
a dynamic import is not. An app calls this once at startup and then uses the
synchronous getter everywhere.
Mentioned here
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.