Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

draft-js-utils

sstur788.9kISC1.4.1

Collection of utilities for DraftJS

draft-js, rich-text, content-tools

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.