A plugin for Strapi Headless CMS that provides EditorJS as default WYSIWYG editor
npm i strapi-plugin-k-editorjs@latest --save
After successful installation the EditorJS should appear as default WYSIWYG editor. Enjoy 🎉
Complete installation requirements are exact same as for Strapi itself and can be found in the documentation under Installation Requirements.
Supported Strapi versions:
- Strapi v3.6.8 (recently tested)
- Strapi v3.x
(This plugin may work with the older Strapi versions, but these are not tested nor officially supported at this time.)
Also, you've to configure API permissions for this plugin to be able to work with image block. How to configure image plugin
- Paragraph
- Header
- Quote
- Delimiter
- List
- Checklist
- Embed
- Table
- Code
- Image (How to configure image plugin)
- MediaLibrary (Custom block for Strapi MediaLibrary)
EditorJS Image plugins requires API to be able to upload images. This Strapi plugin contains this API. By default, authenticated users won't be able to use this API. So you've to give permissions to authenticated users.
To do this:
- Open administration panel
- Go to Settings
- Go to Roles page of Users & Permissions plugin and start edit permissions for Authenticated role
- Find permissions for K-EditorJS in permissions list and choose "Select all"
- Save changes
Feel free to fork and make a Pull Request to this plugin project. All the input is warmly welcome!
For general help using Strapi, please refer to the official Strapi documentation. For additional help, you can use one of these channels to ask a question:
- GitHub (Bug reports, Contributions, Questions and Discussions)