UNPKG

@tiptap/core

Version:

headless rich text editor

9 lines (8 loc) 330 B
import { Extensions } from '../types.js'; /** * Generate JSONContent from HTML * @param html The HTML to generate JSONContent from * @param extensions The extensions to use for the schema * @returns The generated JSONContent */ export declare function generateJSON(html: string, extensions: Extensions): Record<string, any>;