medium-proeditor
Version:
A powerful & customizable Medium-style rich text editor
11 lines • 407 B
TypeScript
import { InputRule, type InputRuleFinder } from '../InputRule';
/**
* Build an input rule that replaces text when the
* matched text is typed into it.
* @see https://tiptap.dev/docs/editor/extensions/custom-extensions/extend-existing#input-rules
*/
export declare function textInputRule(config: {
find: InputRuleFinder;
replace: string;
}): InputRule;
//# sourceMappingURL=textInputRule.d.ts.map