React Quill alternative
A React Quill alternative that runs on React 19
react-quill has not had a release since August 2022 and breaks on React 19. Post Canvas is a maintained, MIT-licensed React rich text editor built on Tiptap, and it reads your saved Quill HTML.
npm install post-canvas- Licence
- MIT
- React
- 18.2 and 19
- Imports
- Quill HTML
- Price
- Free
Who it's for
Apps stuck on react-quill or Draft.js
- You are upgrading to React 19 and react-quill throws "findDOMNode is not a function".
- You use react-draft-wysiwyg or Draft.js, which is archived.
- You want an editor with a toolbar and menus ready, not a framework to build one on.
- You have years of posts saved as Quill HTML and need them to keep working.
The signal
Where react-quill stands
- Last release
- 2.0.0, August 3, 2022[1]
- Peer React
- 16, 17 or 18[2]
- Search interest
- 36 in 2024, 10 in 2026 on Google Trends[24]
Google Trends shows relative search interest (yearly averages of weekly values, 0 to 100, worldwide), not usage.
Compare
React rich text editors, side by side
| Feature | Post Canvas | Tiptap | Lexical | Quill | TinyMCE |
|---|---|---|---|---|---|
| Licence | MIT[6] | MIT core, paid Pro features[8] | MIT[10] | BSD-3-Clause; react-quill MIT[12][1] | GPL-2.0-or-later, or commercial[13] |
| React versions | 18.2 and 19[7] | 17, 18 and 19[9] | 18 and later[11] | react-quill: 16 to 18, breaks on 19[2][3][4] | 16.7 to 19[14] |
| Saved format | Tiptap JSON; renders HTML, React, Markdown, text[15] | JSON or HTML[16] | Editor state JSON[17] | Delta JSON or HTML[18] | HTML[19] |
| Ready-made UI | Toolbar, menus, slash menu, block handle[20] | No, you build it[16] | No, you build it[17] | Toolbar themes[25] | Toolbar and menus[27] |
| Galleries, uploads, embeds | Built in: four gallery layouts, upload adapter, click-to-load embeds[20] | Image node; upload and galleries are yours to build[21] | You build them[17] | Image and video formats[26] | Image and media plugins[28] |
Sources
- [1]react-quill on npm: 2.0.0, published August 3, 2022
- [2]react-quill 2.0.0 manifest: quill ^1.3.7, React ^16, ^17 or ^18
- [3]React 19 upgrade guide: ReactDOM.findDOMNode is removed
- [4]react-quill issue 1039: findDOMNode is not a function with React 19
- [5]Draft.js repository, archived, pointing to Lexical
- [6]Post Canvas licence (MIT)
- [7]Post Canvas package.json: React 18.2 or 19
- [8]Tiptap pricing: the editor is open source (MIT)
- [9]@tiptap/react on npm: React 17, 18 or 19
- [10]Lexical licence (MIT, Meta)
- [11]@lexical/react on npm: React 18 or later
- [12]Quill repository: BSD-3-Clause
- [13]TinyMCE licence: GPL-2.0-or-later, or commercial
- [14]@tinymce/tinymce-react on npm: React 16.7 to 19
- [15]Post Canvas docs: document JSON and output formats
- [16]Tiptap docs: JSON and HTML output
- [17]Lexical docs: editor state and JSON
- [18]Quill API: getContents() and getSemanticHTML()
- [19]TinyMCE API: getContent() returns HTML
- [20]Post Canvas docs: galleries and embeds
- [21]Tiptap docs: Image extension, no upload built in
- [22]Quill 1 source: alignment and indent as ql- classes
- [23]Quill 2 list format: bullet lists as ol with data-list
- [24]Google Trends: "react quill" against four editor terms, worldwide, past five years
- [25]Quill docs: themes
- [26]Quill docs: formats, including image and video
- [27]TinyMCE docs: toolbar options
- [28]TinyMCE plugins, including image and media
- [29]react-draft-wysiwyg on npm: 1.15.0, July 2022
Live demo
Paste react-quill HTML, get a Post Canvas post
Live editorEdit the react-quill HTML or paste your own, then convert it.
Left out by fromHTML()
Converting the sample.
The same post in Post Canvas
Migrate
Move off react-quill in three steps
fromHTML(), and keep the old column until you have checked a sample. The migration guide lists what is kept and dropped.// Before: react-quill
import ReactQuill from 'react-quill';
import 'react-quill/dist/quill.snow.css';
<ReactQuill theme="snow" value={html} onChange={setHtml} />
// After: Post Canvas, on React 18.2 or 19
import { PostCanvas } from 'post-canvas';
import 'post-canvas/styles.css';
<PostCanvas preset="article" defaultContent={doc} onChange={({ json }) => setDoc(json)} />import { fromHTML } from 'post-canvas/render';
/** Quill 1 (react-quill) writes alignment as classes. fromHTML reads text-align styles, so copy them over. */
function quillAlignToStyles(html: string): string {
const doc = new DOMParser().parseFromString(html, 'text/html');
for (const el of doc.querySelectorAll<HTMLElement>('[class*="ql-align-"]')) {
const align = [...el.classList].find((name) => name.startsWith('ql-align-'));
if (align) el.style.textAlign = align.slice('ql-align-'.length);
}
return doc.body.innerHTML;
}
const doc = fromHTML(quillAlignToStyles(savedHtml));// From Quill 2, export semantic HTML instead of root.innerHTML:
// Quill 2's own markup writes bullet lists as <ol><li data-list="bullet">.
const html = quill.getSemanticHTML();
const doc = fromHTML(html);FAQ
Questions
Does react-quill work with React 19?
Not as published. react-quill 2.0.0, from August 2022, calls ReactDOM.findDOMNode, which React 19 removed, and its peer dependencies stop at React 18. The GitHub issue reporting the error is still open.
What is the best React Quill alternative?
It depends on what you need. Post Canvas fits posts and articles with photos and video, with a ready-made UI. Tiptap or Lexical fit if you want to build your own editor UI. TinyMCE fits if you need its plugins and accept its licence.
Can I keep my Quill content?
Yes, if you saved HTML. fromHTML() keeps headings, bold, italic, links, lists, images with absolute addresses and Quill video iframes. Quill 1 writes alignment and indent as classes, which fromHTML drops, so map ql-align classes to text-align first. From Quill 2, export with getSemanticHTML().
What about react-draft-wysiwyg and Draft.js?
Draft.js is archived, and its README points to Lexical. react-draft-wysiwyg has had no release since 1.15.0 in July 2022. Convert Draft content to HTML with your existing exporter, then run fromHTML() on it.
Compare more
Other comparisons and guides
- TinyMCE alternativeLicence, API key, plugins and how to move your HTML over.
- Tiptap vs LexicalTwo editor frameworks, compared from their own docs.
- Tiptap image galleriesUpload, resize and four gallery layouts on Tiptap.
- CKEditor alternativeLicence keys, premium features and an HTML import.
- Froala alternativeA free editor for posts with photos and video.
- Migration guideConvert saved HTML with fromHTML, and what is kept and dropped.
Unblock your React 19 upgrade
Install Post Canvas, convert one saved Quill post, and compare it side by side with the original.
npm install post-canvas