Comparison

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

yjdQuill
Bundle size~17 KB min → ~75 KB full (gzip), tree-shakeable~43 KB gzip (core + snow theme)
DependenciesNone (zero runtime deps)None (Parchment built in)
FrameworksReact, Vue 3/2, Angular, AngularJS, Svelte, vanillaVanilla + community wrappers
TypeScript types Yes~ Community
LicenseISCBSD-3-Clause
Best forComments, chat/prompt inputs, blog & social posts, light CMSGeneral 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

yjd — live