12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- import { Transaction, Plugin, Command, EditorState } from 'prosemirror-state';
- declare function closeHistory(tr: Transaction): Transaction;
- interface HistoryOptions {
-
- depth?: number;
-
- newGroupDelay?: number;
- }
- declare function history(config?: HistoryOptions): Plugin;
- declare const undo: Command;
- declare const redo: Command;
- declare function undoDepth(state: EditorState): any;
- declare function redoDepth(state: EditorState): any;
- export { closeHistory, history, redo, redoDepth, undo, undoDepth };
|