Draft.js

Rich Text Editor Framework for React

Check it out in the intro video

Extensible and Customizable

We provide the building blocks to enable the creation of a broad variety of rich text composition experiences, from basic text styles to embedded media.

Declarative Rich Text

Draft.js fits seamlessly into React applications, abstracting away the details of rendering, selection, and input behavior with a familiar declarative API.

Immutable Editor State

The Draft.js model is built with immutable-js, offering an API with functional state updates and aggressively leveraging data persistence for scalable memory usage.

Try it out!

Here's a simple example of a rich text editor built in Draft.js.

H1H2H3H4H5H6BlockquoteULOLCode Block
BoldItalicUnderlineMonospace
Tell a story...