yjd vs TinyMCE
TinyMCE is the classic, full-featured WYSIWYG with a huge plugin catalog and official framework wrappers. It is a lot of editor: hundreds of KB, an iframe, and a licensing model where some features are paid. yjd is a fraction of the size, all-open (ISC), and self-contained, aimed at modern comment/chat/post surfaces rather than a Word-like toolbar.
At a glance
| yjd | TinyMCE | |
|---|---|---|
| Bundle size | ~17 KB min → ~75 KB full (gzip), tree-shakeable | ~300+ KB (self-contained, iframe) |
| Dependencies | None (zero runtime deps) | None (bundles everything) |
| Frameworks | React, Vue 3/2, Angular, AngularJS, Svelte, vanilla | Official React, Vue, Angular wrappers |
| TypeScript types | ✓ Yes | ✓ Yes |
| License | ISC | MIT core; some premium features paid |
| Best for | Comments, chat/prompt inputs, blog & social posts, light CMS | Full document editing, migrations from classic editors |
Facts, not a scorecard — both are capable editors. Sizes are approximate and vary with configuration/plugins; figures for TinyMCE come from its public docs (https://www.tiny.cloud). The trade-offs are below.
Which should you pick?
Choose TinyMCE when
- Enormous feature + plugin catalog
- Familiar Word-style editing surface
- Long track record in CMSes
You need a maximal, Word-like editor with a big plugin suite and are fine with the size and licensing.
Choose yjd when
- ~10–15× smaller; no iframe
- Fully open (ISC), no paid feature tiers
- Tree-shake to only what you use; chat/prompt layout
You want a light, fully-open editor for comments/posts/chat without a heavyweight toolbar.
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 Quill · 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