1.1.0 • Published 4 years ago
burdy-web-utils v1.1.0
Burdy Web Utils
Powerful utilities to simplify usage of the Burdy on the web.
- See Burdy Docs for more details
 
Instalation
npm i burdy-web-utilsFunctionalities
richtextToHtml
A 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.
Usage
import { richtextToHtml } from 'burdy-web-utils';
const rawContentState = BURDY_RICHTEXT_RESPONSE;
const markup = richtextToHtml(
  rawContentState
);