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
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
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