yjd vs Tiptap
Tiptap is a headless editor framework built on ProseMirror, with official React and Vue wrappers and a deep extension system. It shines when you need custom node views rendered as framework components, collaboration, or a strict document schema. yjd is the opposite trade: a tiny, dependency-free editor you drop into any framework for comments, chat and posts without pulling ProseMirror.
At a glance
| yjd | Tiptap | |
|---|---|---|
| Bundle size | ~17 KB min → ~75 KB full (gzip), tree-shakeable | ~30–80+ KB gzip (core + ProseMirror + extensions) |
| Dependencies | None (zero runtime deps) | ProseMirror (several packages) |
| Frameworks | React, Vue 3/2, Angular, AngularJS, Svelte, vanilla | React, Vue, Svelte wrappers + vanilla |
| TypeScript types | ✓ Yes | ✓ Yes |
| License | ISC | MIT (core) |
| Best for | Comments, chat/prompt inputs, blog & social posts, light CMS | Complex documents, collaboration, custom framework-rendered nodes |
Facts, not a scorecard — both are capable editors. Sizes are approximate and vary with configuration/plugins; figures for Tiptap come from its public docs (https://tiptap.dev). The trade-offs are below.
Which should you pick?
Choose Tiptap when
- Node views: render editor nodes as React/Vue components
- Rich extension ecosystem + strict schema
- Collaboration (Yjs) is well-trodden
You are building a document app (Notion/Google-Docs class) with custom interactive blocks or real-time collaboration.
Choose yjd when
- No ProseMirror dependency; smaller footprint
- Works the same across React, Vue, Angular and vanilla
- Native chat/prompt layout + BYO-AI, no plugins
You want a small editor for comments, chat or posts and do not need framework-component nodes.
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 Quill · 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