• Stars
    star
    26,314
  • Rank 718 (Top 0.02 %)
  • Language
    TypeScript
  • License
    Apache License 2.0
  • Created over 8 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A block-style editor with clean JSON output

Editor.js Logo

editorjs.io | documentation | changelog

npm Minzipped size Backers on Open Collective Sponsors on Open Collective

About

Editor.js is an open-source text editor offering a variety of features to help users create and format content efficiently. It has a modern, block-style interface that allows users to easily add and arrange different types of content, such as text, images, lists, quotes, etc. Each Block is provided via a separate plugin making Editor.js extremely flexible.

Editor.js outputs a clean JSON data instead of heavy HTML markup. Use it in Web, iOS, Android, AMP, Instant Articles, speech readers, AI chatbots — everywhere. Easy to sanitize, extend and integrate with your logic.

  • 😍  Modern UI out of the box
  • 💎  Clean JSON output
  • ⚙️  Well-designed API
  • 🛍  Various Tools available
  • 💌  Free and open source
Editor.js Overview

Installation

It's quite simple:

  1. Install Editor.js
  2. Install tools you need
  3. Initialize Editor's instance

Install using NPM, Yarn, or CDN:

npm i @editorjs/editorjs

Choose and install tools:

See the 😎 Awesome Editor.js list for more tools.

Initialize the Editor:

<div id="editorjs"></div>
import EditorJS from '@editorjs/editorjs'

const editor = new EditorJS({
  tools: {
   // ... your tools
  }
})

See details about Installation and Configuration at the documentation.

Saving Data

Call editor.save() and handle returned Promise with saved data.

const data = await editor.save()

Example

Take a look at the example.html to view more detailed examples.

Roadmap

  • Unified Toolbox
    • Block Tunes moved left
    • Toolbox becomes vertical
    • Ability to display several Toolbox buttons by the single Tool
    • Block Tunes become vertical
    • Block Tunes support nested menus
    • Conversion Toolbar uses Unified Toolbox
    • Conversion Toolbar added to the Block Tunes
  • Collaborative editing
    • Implement Inline Tools JSON format
    • Operations Observer, Executor, Manager, Transformer
    • Implement Undo/Redo Manager
    • Implement Tools API changes
    • Implement Server and communication
    • Update basic tools to fit the new API
  • Other features
    • Blocks drag'n'drop
    • New cross-block selection
    • New cross-block caret moving
  • Ecosystem improvements
    • CodeX Icons — the way to unify all tools and core icons
    • New Homepage and Docs
    • @editorjs/create-tool for Tools bootstrapping
    • Editor.js DevTools — stand for core and tools development
    • Editor.js Design System
    • Editor.js Preset Env
    • Editor.js ToolKit
    • New core bundle system
    • New documentation and guides
Support Editor.js

Like Editor.js?

You can support project improvement and development of new features with a donation to our team.

Donate via OpenCollective
Donate via Crypto
Donate via Patreon

Why donate

Donations to open-source products have several advantages for your business:

  • If your business relies on Editor.js, you'll probably want it to be maintained
  • It helps Editor.js to evolve and get the new features
  • We can support contributors and the community around the project. You'll receive well organized docs, guides, etc.
  • We need to pay for our infrastructure and maintain public resources (domain names, homepages, docs, etc). Supporting it guarantees you to access any resources at the time you need them.
  • You can advertise by adding your brand assets and mentions on our public resources

Sponsors

Support us by becoming a sponsor. Your logo will show up here with a link to your website.

Mister Auto UPLUCID, K.K. Kane Jamison Content Harmony

Become a Sponsor

Backers

Thank you to all our backers

Become a Backer

Contributors

This project exists thanks to all the people who contribute.

Need something special?

Hire CodeX experts to resolve technical challenges and match your product requirements.

  • Resolve a problem that has high value for you
  • Implement a new feature required by your business
  • Help with integration or tool development
  • Provide any consultation

Contact us via [email protected] and share your details

Community

About CodeX

CodeX is a team of digital specialists around the world interested in building high-quality open source products on a global market. We are open for young people who want to constantly improve their skills and grow professionally with experiments in cutting-edge technologies.

🌐 Join 👋 Twitter Instagram
codex.so codex.so/join @codex_team @codex_team

More Repositories

1

codex.docs

Free Docs app powered by Editor.js ecosystem
TypeScript
558
star
2

codex.notes

WIP: crossplatform desktop notes application based on Electron and Editor.js
JavaScript
132
star
3

capella

Cloud service for image storage and delivery
PHP
126
star
4

hawk

Fast and lightweight errors tracking service
JavaScript
89
star
5

codex.media

A platform for building a modern UGC media
PHP
85
star
6

deeplinker

Use one link to open installed apps or web pages
JavaScript
57
star
7

js-notifier

Notifications for websites
JavaScript
48
star
8

codex.shortcuts

Micro-library for dispatching keyboard shortcuts in Javascript
JavaScript
47
star
9

email-provider

Detect email provider by address
JavaScript
44
star
10

codex.bot

Working team assistant
Python
36
star
11

icons

Dozens of cute svg icons made with love by CodeX for your projects. No dependencies required. Free to use and share.
TypeScript
35
star
12

action-check-domain

Watch SSL certs and registry date expiring for your domains
JavaScript
34
star
13

ajax

Just another AJAX requests helper
JavaScript
33
star
14

deployserver

Deploy your project automatically when git branch was updated.
Python
28
star
15

check-ssl-cert-expire-date

Checks SSL certificates expire date and sends alerts to the Slack or Telegram when date X is coming
Python
26
star
16

capella-tray

Upload screenshots instantly to Capella and get link directly to clipboard
JavaScript
25
star
17

hawk.javascript

JavaScript errors tracker
TypeScript
21
star
18

codex

Codex Team website
PHP
21
star
19

codex.tooltips

JavaScript module to add custom tooltips to any element
TypeScript
20
star
20

hawk.php

PHP Errors catching and monitoring
PHP
19
star
21

html-slacker

Converts HTML to Slack formatted markdown
Python
16
star
22

hawk.desktop

Hawk.so desktop client
JavaScript
16
star
23

stimagebot

Get images of your favourite stickers ⭐
JavaScript
12
star
24

hawk.garage

Hawk 2.0 web client
Vue
11
star
25

python-queue

Python
10
star
26

codex.special

Module for making high-contrast version of websites. Simple usage.
JavaScript
10
star
27

hawk.nodejs

Node.js catcher for Hawk
TypeScript
9
star
28

hawk.mono

Open-source errors tracker
Shell
9
star
29

html-css-practice

Making Facebook for several minutes
HTML
9
star
30

webpack-build-config

JavaScript
9
star
31

kohana-aliases

Module which allows you to create beautiful URL's
PHP
8
star
32

moduleDispatcher

CodeX Module Dispatcher
JavaScript
8
star
33

hawk.workers

Hawk workers system
TypeScript
7
star
34

AR-Tester

Test your site's layout on the virtual devices at Augmented Reality
Swift
7
star
35

action-codexbot-notify

This action sends a notification message to Telegram or Slack chat
JavaScript
7
star
36

eslint-config

CodeX basic eslint configuration
TypeScript
6
star
37

transport

One click file uploader
JavaScript
6
star
38

notes.web

TypeScript
6
star
39

pycapella

Python SDK for capella.pics
Python
5
star
40

reactions

Light-weight reactions module
TypeScript
5
star
41

docker

Simple container with Nginx, PHP, MySQL
PHP
5
star
42

editorjs.io

Source code of the Editor.js homepage
Vue
5
star
43

codex.notes.server

Cloud for the CodeX Notes
PHP
5
star
44

capella.php

PHP SDK for CodeX Capella project
PHP
5
star
45

capella.nodejs

Capella SDK for Node.js
JavaScript
4
star
46

task-manager

TypeScript
4
star
47

tinkoff-api

NodeJS SDK for Tinkoff Acquiring API
TypeScript
4
star
48

hawk.python

Codex Hawk python catcher
Python
4
star
49

hawk.api.nodejs

GraphQL API for Hawk Garage
TypeScript
4
star
50

action-nodejs-package-info

Action for getting information from package.json file
JavaScript
4
star
51

codex.notes.android

CodeX Notes for Android
Kotlin
4
star
52

codex.music

WIP: Dehumanised engine for generating Chillout music 🎶
TypeScript
4
star
53

culture-of-art

Dummy page for «Culture of Art» project
CSS
3
star
54

codex.notes.ios

Codex Notes for iOS
Swift
3
star
55

hawk.kotlin

Kotlin Catcher for Hawk.so
Kotlin
3
star
56

codex.tunnel

Expose your project via codex.tunnel
Go
3
star
57

capella.go

Capella SDK for Golang
Go
3
star
58

logs-checker

Script for checking server's log-files updates.
PHP
3
star
59

node-playground

Sources from CodeX Meetup about making real-time application with Nodejs, Express, Socket.io
JavaScript
3
star
60

vue-tutorial

Vue
3
star
61

hawk.android.catcher

Android errors Catcher module for Hawk.so
Kotlin
3
star
62

codex.backup

Simple shell script for server backups to the cloud
PHP
3
star
63

hawk.workers.go

Experimental Golang worker implementation
Go
2
star
64

capella.scala

Capella SDK for Scala
Scala
2
star
65

codex.smm

SMM assistant. Reminds you to write something to you followers.
JavaScript
2
star
66

hawk.go

Hawk catcher for Golang
Go
2
star
67

codex-orion

News analysis project
Scala
2
star
68

cover-generator

JavaScript
2
star
69

codex.editor.sandbox

Dockerized CodeX Editor backend with example application.
HTML
2
star
70

opencollective-webhook

Service that checks opencollective API and informs you about new donations via Telegram and CodeX.Bot
Go
2
star
71

ctproto

CodeX Transport Protocol
TypeScript
2
star
72

announcer-landing

Admin page for @itmoabitbot announcements
CSS
2
star
73

codex.bot.chart

Smarty
2
star
74

domain-checker

JavaScript
2
star
75

hawk.so

Vue
2
star
76

article-ci

Demo code for CI article on ifmo.su
Python
2
star
77

brand-watcher

Python
1
star
78

dev

Repository for development needs
1
star
79

hawk.webpack.plugin

Webpack plugin for sending source maps to the Hawk
JavaScript
1
star
80

codex.meetup.bot

Python
1
star
81

codex.notes.server-nodejs

JavaScript
1
star
82

hawk.scala

Hawk catcher for Scala
Scala
1
star
83

typescript-lib-template

A quick start template for a new TypeScript library
TypeScript
1
star
84

mongodb-changes-notifier

With this tool you'll be able to be notified of any data changes in MongoDB
Go
1
star
85

fastDeployServer

Service that will stop and restart your docker-compose services on the fly based on images
Go
1
star
86

whocame

Bot that knows who come to the office
Go
1
star
87

codex-surveys

TypeScript
1
star
88

codex.docs.chart

Helm chart for deploying CodeX Docs
Smarty
1
star
89

hawk.collector

High-performance messages collector for the Hawk project
Go
1
star
90

codex.langbot

Bot that automatically translate any Russian message to English in Telegram chat
Python
1
star
91

codex.bot.v3

Bot that let you to control everything from Telegram and Slack.
Python
1
star
92

devops-monitor

Shell
1
star
93

notes.api

TypeScript
1
star
94

uptime-monitor.workers

JavaScript
1
star
95

codex-surveys-proxy

Proxy to access Notion API via CodeX Surveys
1
star
96

codex.misprints

Module for sendings misprints to Slack and Telegram
TypeScript
1
star
97

flux-webhook-autoreconciler

Go
1
star