textInputRule
@blockslides/core / textInputRule
Function: textInputRule()
textInputRule(
config):InputRule
Defined in: blockslides/packages/core/src/inputRules/textInputRule.ts:9
Build an input rule that replaces text when the matched text is typed into it.
Parameters
config
find
replace
string
undoable?
boolean
Returns
See
https://tiptap.dev/docs/editor/extensions/custom-extensions/extend-existing#input-rules