import { createNodeFromContent } from "https://deno.land/x/netzo@0.5.107/deps/@tiptap/react.ts";
Takes a JSON or HTML content and creates a Prosemirror node or fragment from it.
Parameters
content: Content
The JSON or HTML content to create the node from
schema: Schema
The Prosemirror schema to use for the node
optional
options: CreateNodeFromContentOptionsOptions for the parser
Returns
The created Prosemirror node or fragment