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