draft-js-import-html-cbx
Advanced tools
Weekly downloads
Readme
This is a module for DraftJS that will convert HTML to editor content.
It was extracted from React-RTE and placed into a separate module for more general use. Hopefully it can be helpful in your projects.
npm install draft-js-import-html-cbx
import {stateFromHTML} from 'draft-js-import-html';
let contentState = stateFromHTML(html);
This project is still under development. If you want to help out, please open an issue to discuss or join us on Slack.
This software is BSD Licensed.
FAQs
DraftJS: Import HTML to ContentState
The npm package draft-js-import-html-cbx receives a total of 1,087 weekly downloads. As such, draft-js-import-html-cbx popularity was classified as popular.
We found that draft-js-import-html-cbx demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.