medium-proeditor
Version:
A powerful & customizable Medium-style rich text editor
7 lines • 417 B
TypeScript
import type { EditorState, Transaction } from 'prosemirror-state';
/**
* Functions to use with cycled operations, e.g cycle-quote nodes
*/
export declare function cycleNodes(state: EditorState, dispatch: (tr: Transaction) => void, nodes: any[]): void;
export declare function chainIsActive(...checks: Array<(state: EditorState) => boolean>): (state: EditorState) => boolean;
//# sourceMappingURL=cycleNodes.d.ts.map