UNPKG

@contentstack/json-rte-serializer

Version:

This Package converts Html Document to Json and vice-versa.

14 lines (13 loc) 887 B
import { IJsonToMarkdownElementTags, IJsonToMarkdownTextTags, IHtmlToJsonElementTags, IHtmlToJsonTextTags, IJsonToHtmlElementTags, IJsonToHtmlTextTags, IJsonToHtmlAllowedEmptyAttributes } from '../types'; export declare const listTypes: string[]; export declare const elementsToAvoidWithinMarkdownTable: string[]; export declare const ELEMENT_TYPES: IJsonToMarkdownElementTags; export declare const TEXT_WRAPPERS: IJsonToMarkdownTextTags; export declare const ELEMENT_TAGS: IHtmlToJsonElementTags; export declare const TEXT_TAGS: IHtmlToJsonTextTags; export declare const HTML_ELEMENT_TYPES: IJsonToHtmlElementTags; export declare const HTML_TEXT_WRAPPERS: IJsonToHtmlTextTags; export declare const ALLOWED_EMPTY_ATTRIBUTES: IJsonToHtmlAllowedEmptyAttributes; export declare const isInline: string[]; export declare const isVoid: string[]; export declare const whiteCharPattern: RegExp;