The EditorJS plugin was updated to V2.0

EditorJS plugin was updated to V2.0

Link to plugin on marketplace | Link to plugin on GitHub

With this release, I refactored the plugin completely. There are a new way of registering extensions to add your own blocks and many more.

The JS of the form widget was rewritten, now it is made using hot controls. jQuery has been completely removed.

New |editorjs filter for your frontend. There is no need to add behaviors or traits to your models, just use |editorjs filter and your JSON will be converted to HTML.

{{ post.content|editorjs }}

Custom blocks view from your theme. Create editorjs folder inside partials folder of your theme and rewrite any default block view with your own. This will allow you to render content in any way you want, with custom design of each block.

And many more!

2 Likes

Good job, Nikita.

@daft, this editor must be implemented as the core editor instead of Froala.

1 Like