Powerful utilities to simplify usage of the Burdy on the web.
- See Burdy Docs for more details
npm i burdy-web-utilsA function for converting Richtext (DraftJS) Editor content to plain HTML.
This is forked version of draftjs-to-html draftjs-to-html created by Jyoti Puri.
import { richtextToHtml } from 'burdy-web-utils';
const rawContentState = BURDY_RICHTEXT_RESPONSE;
const markup = richtextToHtml(
rawContentState
);