Draft.js is a framework for building rich text editors in React, powered by an immutable model and abstracting over cross-browser differences. Draft.js allows you to build any type of rich text input, whether you're only looking to support a few inline text styles or building a complex text editor for composing long-form articles. 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. Draft.js fits seamlessly into React applications, abstracting away the details of rendering, selection, and input behavior with a familiar declarative API. 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.

Features

  • Rich text editor framework for React
  • Allows you to build any type of rich text input
  • From basic text styles to embedded media
  • Fits seamlessly into React applications
  • Built with immutable-js
  • API with functional state updates

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Draft.js

Draft.js Web Site

Other Useful Business Software
Gemini 3 and 200+ AI Models on One Platform Icon
Gemini 3 and 200+ AI Models on One Platform

Access Google's best plus Claude, Llama, and Gemma. Fine-tune and deploy from one console.

Build generative AI apps with Vertex AI. Switch between models without switching platforms.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Draft.js!

Additional Project Details

Operating Systems

Android, Apple iPhone, Mac, Windows

Programming Language

JavaScript

Related Categories

JavaScript Text Editors, JavaScript Frameworks

Registered

2021-02-22