Many web developers are familiar with online editors like TinyCME. If you’ve edited a blog post in WordPress using the classic editor, then you know what I mean.
The problem with this type of editor is it’s too easy to accidentally output garbage HTML. WordPress has switched to offering a block style editor.
If you need to create a similar editor for your web project, editor.js offers inline block-style editing and it outputs clean data in json format.
Here’s a screenshot of example JSON output which can then be used with
This JSON data can then be used with a templating language like Handlebars to build web pages.