1.4.1 • Published 6 years ago

draft-js-import-html v1.4.1

Weekly downloads
61,485
License
ISC
Repository
github
Last release
6 years ago

DraftJS: Import HTML to ContentState

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.

Installation

npm install --save draft-js-import-html

How to Use

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.

License

This software is BSD Licensed.

@borderfreefinancial/revo-core@borderfreefinancial/revo-core-apiafew-live-editor@doctorlogic/compoenentsdraft-js-import-html-patchedclass-note-editor-moduletalent-app-shellmdt-libreact-rte-i18nreact-webpack-babel-sass-boilerplate@infinitebrahmanuniverse/nolb-draf@everything-registry/sub-chunk-1513tamu-mirador-annotationsteachable-marketingwsa-commentsstarry-editorstrapi-plugin-modelstestmodule-carlosyangswift-react-rte@bemit/flood-adminjoin-chat-uijlegrone-react-rtejx-react-rteigo-chart-editorhommilyeditorhtml-verify-react-rtehf-react-rtelight_cover_letter_buildermaby-markdown-editormaterial-rtematerial-ui-form-fieldsll-react-rte@trojanowski/react-rte@times-tooling/rich-text-editor@theaimegroup/aime-component-library@vienne/block_editorandersryanc--react-rteaejis-react-rteadslot-uiadminedany-form-react-pluginarvest-maearvest-maevasma-app-advocaaq-clmm-masters@googleforcreators/rich-text@iqmo/react-chart-editor@4nduril/react-rte@happens-lol/react-rte@griddo/ax@agolo/output-config-rte@eeacms/react-chart-editor@eeacms/volto-addons-forest@eeacms/volto-forest-policy@comet/admin-rte@psychwire/react-rtemdap-componentsreact-mui-editormerchant-dashboardsur41-react-rte@capture-models/editorz-panelvirtuoso-design-system@lifechurch/react-draftable@keen.io/dashboard-creator@react-form-fields/editor@plone/blocks-conversion-tool@plone/plone-react@rmchen-12/compnents@rmchen-12/components@platzi/editor@platform-group/rich-text-editormtarapata-react-rtemuse-rtemirador-annotation-editormirador-annotation-editor-videomirador-annotationsmirador-annotations-intloxygen-rtereact-chart-editorreact-chart-editor-fork-oprstchnreact-alex-rteroy-gbiv_react-rterte-draft-js-reactrc-editorrcenqbl-react-rtesemantic-ui-react-rtereact-draft-rtenocms-editornetlify-cms-widget-richtextnetlify-richtext-editor-widgetqhc_job_uirich-editorreactlibrichtext-qzreagents-jsreact-richtextsimple-draftjsreact-plotly.js-editor
1.4.1

6 years ago

1.4.0

6 years ago

1.3.3

7 years ago

1.3.2

7 years ago

1.3.0

7 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

0.4.0

8 years ago

0.3.2

9 years ago

0.3.1

9 years ago

0.3.0

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.10

9 years ago

0.1.9

9 years ago

0.1.8

9 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago