Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

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

This function merges extension attributes into parserule attributes (attrs or getAttrs). Cancels when getAttrs returned false.

Parameters

parseRule: ParseRule

ProseMirror ParseRule

extensionAttributes: ExtensionAttribute[]

List of attributes to inject