@contentstack/json-rte-serializer
Version:
This Package converts Html Document to Json and vice-versa.
5 lines (4 loc) • 310 B
TypeScript
import { IHtmlToJsonElementTags, IHtmlToJsonOptions, IAnyObject } from './types';
export declare const ELEMENT_TAGS: IHtmlToJsonElementTags;
export declare const fromRedactor: (el: any, options?: IHtmlToJsonOptions) => IAnyObject | null;
export declare const getNestedValueIfAvailable: (value: string) => any;