strapi plugin react editorjs
v2.0.2

yarn add strapi-plugin-react-editorjs
# or
npm install strapi-plugin-react-editorjsIn order for Strapi to show the Link Tool thumbnails correctly, you will need to edit the 'strapi::security' line in ./config/middlewares.js. Change that line to the following (do this at your own risk).
module.exports = [
// ...
{
name: 'strapi::security',
config: {
contentSecurityPolicy: {
directives: {
'img-src': ['*'],
},
}
},
},
// ...
];If you want to change the look of the editor or add/remove editorJS plugins, you will need to do the following:
yarn remove strapi-plugin-react-editorjs
# or
npm uninstall strapi-plugin-react-editorjs# If you wish to clone the Master Branch
git clone https://github.com/melishev/strapi-plugin-react-editorjs.git
# If you wish to clone the Beta Branch
git clone --single-branch --branch beta https://github.com/melishev/strapi-plugin-react-editorjs.gitcd strapi-plugin-react-editorjsyarn install or npm installmodule.exports = ({ env }) => ({
// ...
'editorjs': {
enabled: true,
resolve: './src/plugins/strapi-plugin-react-editorjs'
},
// ...
})./src/plugins/strapi-plugin-react-editorjs/admin/src/config/customTools.js file.
customTools.js file. If you wish to develop it further, you may, but it will take much more advanced knowledge and testing.yarn build
# or
npm run buildGive a star if this project helped you.