Draft.js VS quill

Compare Draft.js vs quill and see what are their differences.

Draft.js

A React framework for building text editors. (by facebookarchive)

quill

Quill is a modern WYSIWYG editor built for compatibility and extensibility. (by quilljs)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
Draft.js quill
40 59
22,309 39,539
- 2.8%
8.2 9.5
over 1 year ago 2 days ago
JavaScript TypeScript
MIT License BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Draft.js

Posts with mentions or reviews of Draft.js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-17.

quill

Posts with mentions or reviews of quill. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-19.
  • Quill – Your powerful rich text editor
    5 projects | news.ycombinator.com | 19 Apr 2024
    Ymmv, but I will never use Quill for a production project again.

    We started using Quill 1.x around 2016, I initially liked it a lot. Jason proactively reached out to me when I first tweeted about considering Quill, and he was helpful when I had questions about the implementation.

    Fast forward to 2019, we were running into some bugs, Quill 1.x was in maintenance mode, and 2.0 was effectively undocumented. I reached out to Jason on Twitter to get a sense for the timeline, and he basically told me to get lost. (Also his company Slab now blocks me on Twitter, though I imagine he just meant to block me from his personal account.)

    Everyone has stressful days, especially when building a startup, so maybe that was just a bad time for me to reach out. My best guess is that they were focused on their own company (fair!) and barely had the time to maintain Quill for their own internal usage, let alone release it as open source. If that's the case, I wish they'd been upfront about it.

    5 years later, Quill v2 is finally live. I'm glad to see Slab is still around, and I hope they have the bandwidth to publicly maintain Quill going forward. But if you're thinking about using this in production, I would push on what their commitment is to supporting it, and have a plan for if they stop responding.

    (Jason, if you're on this thread, no hard feelings, water under the bridge. Feel free to ignore or chime in with your own perspective.)

    * https://github.com/quilljs/quill/issues/2435

  • Quill: Open-source, powerful rich text editor in JavaScript
    1 project | news.ycombinator.com | 25 Mar 2024
  • WYSIWYG editor for a new Rails project
    6 projects | /r/rails | 10 Dec 2023
    I started with Quill... wound up hitting lots of challenges. There are bugs/issues like, "don't add extra margin or it will be converted to extra spaces." I also struggled to embed Quill into an HTML form element, which I though would be easy.
  • Any FOSS to make HTML websites for self-hosting?
    4 projects | /r/opensource | 7 Dec 2023
    Fair enough. Look maybe into more of a utility like Quill? https://quilljs.com/
  • You don't need a CRDT to build a collaborative experience
    6 projects | news.ycombinator.com | 16 Nov 2023
    I agree. Yes, you can. Quill is the example here.

    Actually, back in 2015 when we started prototyping CKEditor 5, we started with this approach as well. Our goal from the beginning was to combine real-time editing capabilities with an engine capable of storing and rendering complex rich-text structures (nested tables, complex nested lists, other rich widgets, etc.). We quickly realized that a linear structure is going to be a huge bottleneck. In the end, if you want to represent trees, storing them as a linear structure is counterproductive.

    So, we went for a tree model. That got many things in the engine an order of magnitude harder (OT being one). But I choose to encapsulate this complexity in the model rather than make it leak to particular plugins.

    In fact, from what I remember, https://github.com/quilljs/quill/issues/117 (e.g. https://github.com/quilljs/quill/issues/117#issuecomment-644...) is a good example of issues that we avoided.

    I also talked to companies that built their platforms on top of Quill. One of them ended up gluing together countless Quill instances to power their editor and overcome the limitations of the linear data model but is now looking for a way to rebuild their editor from scratch due to the issues (performance, complexity, stability).

    So, yes. You can implement a rich-text editor based on a linear model. But it has its immediate limitations that you need to take into consideration.

  • Which Rich Text Editor to use ?
    2 projects | /r/reactjs | 6 Jul 2023
    I've always used Quill and always satisfied with it. It can be adapted to React Native as well. Despite the most popular RTE is Draft js it has some limitations on mobile.
  • I need help with creating simple text editor
    1 project | /r/Angular2 | 4 Apr 2023
    NgPrime has this editor if you’re using it already for components. Or Quil could work
  • Good Markdown Editor for SvelteKit?
    7 projects | /r/sveltejs | 3 Apr 2023
    Quill
  • Recommendations For A Better Blog UI
    1 project | /r/flask | 24 Mar 2023
    The few I have seen out there are flask-blogging, tiny-blog, and maybe quill?
  • Are WYSIWYG text entry areas difficult to implement in web and mobile apps? Because I see Markdown so much instead.
    2 projects | /r/AskProgramming | 13 Mar 2023
    So if one were to use https://quilljs.com/ as /u/ike_the_strangetamer suggested and just include a disclaimer that the site doesn't support pasting in some things, would that work?

What are some alternatives?

When comparing Draft.js and quill you can also consider the following projects:

slate - A completely customizable framework for building rich text editors. (Currently in beta.)

Editor.js - A block-style editor with clean JSON output

TinyMCE - The world's #1 JavaScript library for rich text editing. Available for React, Vue and Angular

react-quill - A Quill component for React.

tiptap - The headless rich text editor framework for web artisans.

react-draft-wysiwyg - A Wysiwyg editor build on top of ReactJS and DraftJS. https://jpuri.github.io/react-draft-wysiwyg

ProseMirror - The ProseMirror WYSIWYM editor

CodeMirror - In-browser code editor (version 5, legacy)

trix - A rich text editor for everyday writing