Editor.js is a block-based text editor for the web. Each content type is a plugin, and saved data is structured JSON instead of heavy HTML.
Overview
Editor.js presents a block-oriented writing surface where paragraphs, headers, images, lists, quotes, and other types are separate editable blocks rather than one monolithic rich-text region. The core coordinates plugins that supply each block type, which keeps the editor adaptable to new content kinds.
Saving calls editor.save() and returns JSON describing each block’s type and data. That format is meant for reuse on the web, mobile clients, AMP, speech tools, chatbots, and backend validation without parsing tangled markup. Classic WYSIWYG HTML output is explicitly not the primary model.
You install the core through NPM, Yarn, or CDN, add tool plugins, then initialize an Editor instance with configuration documented on editorjs.io. Community and official tools extend inline formatting, block tunes, and conversion between block types; collaborative editing, undo and redo, and unified toolbars appear on the project roadmap.
The ecosystem includes UI kits, icon sets, scaffolding for new tools, and guides for authors building custom block tools. CodeX maintains the editor and accepts sponsorships for ongoing maintenance of public docs and infrastructure.
Key features
- Plugin-based block types
- JSON document output
- Block tunes and conversion menus
- Collaborative editing components
- Undo and redo manager
- Unified vertical toolbars
- Extensible tool API
- NPM, Yarn, and CDN installs
Use cases
- CMS or app rich text areas
- Structured content for mobile apps
- Sanitized backend document storage
- Custom block tools for embeds
- Editor integrations needing JSON