Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

inputRules

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.

function inputRules({ rules }: {
rules: readonly InputRule[];
}
): Plugin<PluginState>;
§
inputRules({ rules }: {
rules: readonly InputRule[];
}
): Plugin<PluginState>
[src]

§Parameters

§
{ rules }: {
rules: readonly InputRule[];
}
[src]

§Return Type

§
Plugin<PluginState>
[src]