@tiptap/starter-kit
Version:
starter kit for tiptap
14 lines (13 loc) • 390 B
TypeScript
import { RawCommands } from '../types.js';
declare module '@tiptap/core' {
interface Commands<ReturnType> {
undoInputRule: {
/**
* Undo an input rule.
* @example editor.commands.undoInputRule()
*/
undoInputRule: () => ReturnType;
};
}
}
export declare const undoInputRule: RawCommands['undoInputRule'];