textPasteRule
@blockslides/core / textPasteRule
Function: textPasteRule()
textPasteRule(
config):PasteRule
Defined in: blockslides/packages/core/src/pasteRules/textPasteRule.ts:9
Build an paste rule that replaces text when the matched text is pasted into it.
Parameters
config
find
replace
string
Returns
See
https://tiptap.dev/docs/editor/extensions/custom-extensions/extend-existing#paste-rules