UNPKG

@tiptap/starter-kit

Version:

starter kit for tiptap

8 lines (7 loc) 305 B
import { ContentMatch, NodeType } from '@tiptap/pm/model'; /** * Gets the default block type at a given match * @param match The content match to get the default block type from * @returns The default block type or null */ export declare function defaultBlockAt(match: ContentMatch): NodeType | null;