import { Renderer } from "prosemirror-to-html-js";
import {
DescriptionListNode,
DescriptionTitleNode,
DescriptionDataNode,
} from "./DescriptionList";
import VideoNode from "./Video";
export const renderHtml = (content) => {
const renderer = new Renderer();
renderer.addNode(VideoNode);
return renderer.renderHtml({
type: "doc",
content,
});
};