UNPKG

@tiptap/starter-kit

Version:

starter kit for tiptap

4 lines (3 loc) 216 B
import { MarkType, ResolvedPos } from '@tiptap/pm/model'; import { Range } from '../types.js'; export declare function getMarkRange($pos: ResolvedPos, type: MarkType, attributes?: Record<string, any>): Range | void;