UNPKG

@blocknote/core

Version:

A "Notion-style" block-based extensible text editor built on top of Prosemirror and Tiptap.

3 lines (2 loc) 497 B
"use strict";const c=require("@tanstack/store"),e=Symbol("originalFactory");function u(t){if(typeof t=="object"&&"key"in t)return function n(){return t[e]=n,t};if(typeof t!="function")throw new Error("factory must be a function");return function n(o){return i=>{const r=t({editor:i.editor,options:o});return r[e]=n,r}}}function s(t,n){return new c.Store(t,n)}exports.createExtension=u;exports.createStore=s;exports.originalFactorySymbol=e; //# sourceMappingURL=BlockNoteExtension-BWw0r8Gy.cjs.map