UNPKG

medium-proeditor

Version:

A powerful & customizable Medium-style rich text editor

5 lines 341 B
import type { EditorState, Transaction } from 'prosemirror-state'; import type { NodeType } from 'prosemirror-model'; declare const toggleNode: (type: NodeType, toggleType: NodeType, attributes?: {}) => (state: EditorState, dispatch?: (tr: Transaction) => void) => boolean; export default toggleNode; //# sourceMappingURL=toggleNode.d.ts.map