@tiptap/extension-text-style
Version:
text style extension for tiptap
9 lines (8 loc) • 330 B
TypeScript
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>;