editor.js---a Block-Styled editor with multiple ready-to-use Plugins
Editor.js is a Block-Styled editor. Blocks are structural units, of which the Entry is composed. For example,
Paragraph
, Heading
, Image
, Video
, List
are Blocks. Each Block is represented by Plugin. We have many ready-to-use Plugins and a simple API for creating new ones.My deom is the text editor which can display saved data on screen.
Step1:
link latest editor.js in body,and each plugin you need attached. from cdn
Step2:
html
two sections display:left is editor,right is display board.
Step3:
scss rendering
Step4:
js
Grab the click save button.
Init the EditorJS with default objects.
There are ten types of plugins:
1.
2.
3.
4.
5.
6.
7.
8.
9.
When click the saveButton, the text display on the output section.
More editor.js documents check their Github
My demo FREE DOWNLOAD