UNPKG

medium-proeditor

Version:

A powerful & customizable Medium-style rich text editor

5 lines 327 B
import type { EditorState, Transaction } from 'prosemirror-state'; import type { MarkType } from 'prosemirror-model'; declare const setMark: (type: MarkType, attributes?: Record<string, any>) => (state: EditorState, dispatch?: (tr: Transaction) => void) => boolean; export default setMark; //# sourceMappingURL=setMark.d.ts.map