@contentstack/json-rte-serializer
Version:
This Package converts Html Document to Json and vice-versa.
7 lines (6 loc) • 315 B
TypeScript
import "array-flat-polyfill";
import { fromRedactor } from "./fromRedactor";
import { toRedactor } from "./toRedactor";
import { jsonToMarkdownSerializer } from './jsonToMarkdown';
export * from "./types";
export { fromRedactor as htmlToJson, toRedactor as jsonToHtml, jsonToMarkdownSerializer as jsonToMarkdown };