UNPKG

@prosekit/svelte

Version:

Svelte components and utilities for ProseKit

10 lines 300 B
import { type Editor, type Extension } from '@prosekit/core'; /** * @internal */ export declare function setEditorContext(editor: Editor): void; /** * @internal */ export declare function useEditorContext<E extends Extension>(): Editor<E> | undefined; //# sourceMappingURL=editor-context.d.ts.map