UNPKG

@blocknote/react

Version:

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

9 lines (8 loc) 339 B
import { BlockNoteEditor } from "@blocknote/core"; export declare function renderToDOMSpec(fc: (refCB: (ref: HTMLElement | null) => void) => React.ReactNode, editor: BlockNoteEditor<any, any, any> | undefined): { dom: HTMLSpanElement; contentDOM?: undefined; } | { dom: HTMLElement; contentDOM: HTMLElement | undefined; };