strapi-plugin-editorjs
A Strapi v4 compatible plugin that provides a custom field for Editor.js rich text content.
To use, add these lines to your model schema:
{
// ...
"attributes": {
// ...
"<attributeName>": {
"type": "customField",
"customField": "plugin::editorjs.editorjs"
}
}
}
Enabling/Disabling
The plugin can be enabled/disabled in the plugins.js configuration file of your Strapi project.
// ./config/plugins.js
module.exports = ({ env }) => ({
// ...
editorjs: {
enabled: true // or false
},
// ...
});
Configuration
Currently, this plugin can not be configured.