Package Exports
- draft-js-utils
- draft-js-utils/esm/main.js
- draft-js-utils/lib/getEntityRanges
- draft-js-utils/lib/getEntityRanges.js
- draft-js-utils/lib/main.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (draft-js-utils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Collection of utilities for DraftJS
This is a set of utilities originally built for React-RTE, a rich text editor built on the awesome DraftJS.
Development
This project uses Flow for static type checking. The type annotations are optional, but preferred. Each file can opt-in to using Flow by adding @flow to the docblock or put this as the first line: // @flow.
Flow typechecks will be run as part of the normal tests npm run test but can also be run separately using npm run typecheck.