
Chapter 1: Introduction to Arduino
Learn the basics of Arduino Programming
Base concepts
Editor.js is a block-style editor for rich media stories. It outputs clean data in JSON instead of heavy HTML markup. And more important thing is that Editor.js is designed to be API extendable and pluggable.
At the same time, most useful features as arrow-navigation, copy & paste, cross block selection, and others works almost as in the familiar editors.
What is clean data
But the more interesting thing is, as mentioned above, that Editor.js returns clean data instead of HTML-markup. Take a look at the example.
If our entry consists of few paragraphs and a heading, in popular Medium editor after saving we will have something like this:
Node.js package
Install the package via NPM or Yarn
npm i @editorjs/editorjs --save
Include module in your application
import EditorJS from '@editorjs/editorjs';
import EditorJS from '@editorjs/editorjs';
Heading H5
this is a paragraph
Heading H6
this is a paragraph