Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/netzo/deps/@tiptap/react.ts>markInputRule

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
function markInputRule
import { markInputRule } from "https://deno.land/x/netzo@0.5.106/deps/@tiptap/react.ts";

Build an input rule that adds a mark when the matched text is typed into it.

Parameters

config: { find: InputRuleFinder; type: MarkType; getAttributes?:
| Record<string, any>
| ((match: ExtendedRegExpMatchArray) => Record<string, any>)
| false
| null
; }