Collection of utilities for DraftJS

Usage no npm install needed!

<script type="module">
  import shaunrobDraftJsUtils from 'https://cdn.skypack.dev/@shaunrob/draft-js-utils';


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.


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.