UNPKG

@tiptap/core

Version:

headless rich text editor

9 lines (8 loc) 328 B
import { Extensions, JSONContent } from '../types.js'; /** * Generate HTML from a JSONContent * @param doc The JSONContent to generate HTML from * @param extensions The extensions to use for the schema * @returns The generated HTML */ export declare function generateHTML(doc: JSONContent, extensions: Extensions): string;