inputRulesPlugin
@blockslides/core / inputRulesPlugin
Function: inputRulesPlugin()
inputRulesPlugin(
props):Plugin
Defined in: blockslides/packages/core/src/InputRule.ts:192
Create an input rules plugin. When enabled, it will cause text input that matches any of the given rules to trigger the rule’s action.
Parameters
props
editor
rules
Returns
Plugin