yjd vs Quill
Quill is a mature, popular vanilla editor with its own Delta document format. It is a solid all-rounder. yjd is newer and leaner: it ships first-class TypeScript types, tree-shakes to ~17 KB, stores plain HTML/Markdown, and adds a chat/prompt layout Quill has no equivalent for.
At a glance
| yjd | Quill | |
|---|---|---|
| Bundle size | ~17 KB min → ~75 KB full (gzip), tree-shakeable | ~43 KB gzip (core + snow theme) |
| Dependencies | None (zero runtime deps) | None (Parchment built in) |
| Frameworks | React, Vue 3/2, Angular, AngularJS, Svelte, vanilla | Vanilla + community wrappers |
| TypeScript types | ✓ Yes | ~ Community |
| License | ISC | BSD-3-Clause |
| Best for | Comments, chat/prompt inputs, blog & social posts, light CMS | General WYSIWYG, Delta-based workflows |
Facts, not a scorecard — both are capable editors. Sizes are approximate and vary with configuration/plugins; figures for Quill come from its public docs (https://quilljs.com). The trade-offs are below.
Which should you pick?
Choose Quill when
- Battle-tested, huge install base
- Delta format is great for granular diffing/OT
- Large community + modules
You want the Delta format, an OT/diff pipeline, or the largest community and module set.
Choose yjd when
- Tree-shakes to ~17 KB (vs a fixed ~43 KB)
- First-class bundled TypeScript types
- Stores plain HTML/Markdown; native chat/prompt layout
You want a smaller, TS-first editor that stores HTML/Markdown and a chat/prompt composer out of the box.
Try yjd
A real editor, ~17 KB, zero dependencies. Install: npm i @oix1987/yjd. It runs in React, Vue, Angular and vanilla.
More comparisons: vs Tiptap · vs TinyMCE · vs CKEditor 5 · vs Slate · vs Lexical · vs Draft.js · vs ProseMirror · vs Editor.js · vs Froala · vs Trix · vs Summernote · vs Jodit · vs Toast UI Editor