{"id":13472683,"url":"https://github.com/melishev/strapi-plugin-react-editorjs","last_synced_at":"2025-03-26T17:31:07.239Z","repository":{"id":37612711,"uuid":"395070464","full_name":"melishev/strapi-plugin-react-editorjs","owner":"melishev","description":"📝 Plugin for Strapi Headless CMS, hiding the standard WYSIWYG editor on Editor.js","archived":true,"fork":false,"pushed_at":"2023-11-07T09:34:14.000Z","size":23348,"stargazers_count":171,"open_issues_count":39,"forks_count":80,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-28T17:12:27.307Z","etag":null,"topics":["editor","editorjs","plugin","strapi","wysiwyg"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/strapi-plugin-react-editorjs","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/melishev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-08-11T17:38:31.000Z","updated_at":"2024-10-09T07:01:24.000Z","dependencies_parsed_at":"2024-01-06T20:45:57.229Z","dependency_job_id":"aed5dd22-3bd5-4068-805e-87e45e7b4ffe","html_url":"https://github.com/melishev/strapi-plugin-react-editorjs","commit_stats":{"total_commits":93,"total_committers":8,"mean_commits":11.625,"dds":0.4408602150537635,"last_synced_commit":"319ef013793f52051c3bb0eda796ee25c6f4e1cc"},"previous_names":["melishev/strapi-plugin-editor-js"],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melishev%2Fstrapi-plugin-react-editorjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melishev%2Fstrapi-plugin-react-editorjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melishev%2Fstrapi-plugin-react-editorjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melishev%2Fstrapi-plugin-react-editorjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/melishev","download_url":"https://codeload.github.com/melishev/strapi-plugin-react-editorjs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222156486,"owners_count":16940436,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["editor","editorjs","plugin","strapi","wysiwyg"],"created_at":"2024-07-31T16:00:57.037Z","updated_at":"2024-10-30T03:30:50.309Z","avatar_url":"https://github.com/melishev.png","language":"JavaScript","readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg alt=\"Logo\" src=\"https://github.com/melishev/strapi-plugin-editor-js/blob/master/.github/assets/strapi-plugin-editorjs.png\" width=\"400px\"\u003e\n\u003c/div\u003e\n\n\u003ch1 align=\"center\"\u003e🎛 Strapi + ✒️ Editor.js\u003c/h1\u003e\n\n⚠️ **This is the Strapi v4 version of this plugin! In order to use with v3, please use [release v.1.5.1](https://github.com/melishev/strapi-plugin-react-editorjs/releases/tag/v1.5.1).**\n\n\n## 🙉 What it is?\n\n#### This is a plugin for [Strapi Headless CMS](https://strapi.io) that replaces the standard wysiwyg editor with the cool [Editor.js](https://editorjs.io) and all its compatible add-ons.\n\u003cbr\u003e\n\n\u003cimg src=\"https://github.com/melishev/strapi-plugin-editor-js/blob/master/.github/assets/strapi-plugin-editorjs.gif\"\u003e\n\u003cbr\u003e\n\n## 🍀 Supported official add-ons\n\n- [x] Paragraph Tool (default)\n- [x] [Embed Tool](https://github.com/editor-js/embed)\n- [x] [Table tool](https://github.com/editor-js/table)\n- [x] [List Tool](https://github.com/editor-js/list)\n- [x] [Warning Tool](https://github.com/editor-js/warning)\n- [x] [Code Tool](https://github.com/editor-js/code)\n- [x] [Link Tool](https://github.com/editor-js/link)\n- [x] [Image Tool](https://github.com/editor-js/image)\n- [x] [Raw HTML Tool](https://github.com/editor-js/raw)\n- [x] [Heading Tool](https://github.com/editor-js/header)\n- [x] [Quote Tool](https://github.com/editor-js/quote)\n- [x] [Marker Tool](https://github.com/editor-js/marker)\n- [x] [Checklist Tool](https://github.com/editor-js/checklist)\n- [x] [Delimiter Tool](https://github.com/editor-js/delimiter)\n- [x] [InlineCode Tool](https://github.com/editor-js/inline-code)\n- [ ] [Personality Tool](https://github.com/editor-js/personality)\n- [ ] [Attaches Tool](https://github.com/editor-js/attaches)\n\n\u003cbr\u003e\n\n#### All of the above add-ons (if added) work initially when the plugin is loaded. You can also customize the add-ons available in your application using the instructions below.\n\n\u003cbr\u003e\n\n## 🤟🏻 Getting Started\n\n```bash\nyarn add strapi-plugin-react-editorjs\n# or\nnpm install strapi-plugin-react-editorjs\n```\n\nIn 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). \n\n```js\nmodule.exports = [\n  // ...\n  {\n    name: 'strapi::security',\n    config: {\n      contentSecurityPolicy: {\n        directives: {\n          'img-src': ['*'],\n        },\n      }\n    },\n  },\n  // ...\n];\n```\n\n\u003cbr\u003e\n\n## ⚙️ How to extend/develop this plugin (optional)\n\nIf you want to change the look of the editor or add/remove editorJS plugins, you will need to do the following:\n\n1. If this plugin is already install via yarn or npm, uninstall: \n```bash\nyarn remove strapi-plugin-react-editorjs\n# or\nnpm uninstall strapi-plugin-react-editorjs\n```\n2. Go to the ./src/plugins folder (create it if it doesn't exist) and clone the project:\n\n```bash\n# If you wish to clone the Master Branch\ngit clone https://github.com/melishev/strapi-plugin-react-editorjs.git\n# If you wish to clone the Beta Branch\ngit clone --single-branch --branch beta https://github.com/melishev/strapi-plugin-react-editorjs.git\n```\n3. Go into the plugin and install dependencies:\n   - `cd strapi-plugin-react-editorjs`\n   - `yarn install` or `npm install`\n4. In an editor add the following code into the main Strapi v4 ./config/plugins.js file (create the file if it doesn't exist)\n\n```js\nmodule.exports = ({ env }) =\u003e ({\n  // ...\n  'editorjs': {\n    enabled: true,\n    resolve: './src/plugins/strapi-plugin-react-editorjs'\n  },\n  // ...\n})\n```\n\n5. To make changes to EditorJS plugins, edit the `./src/plugins/strapi-plugin-react-editorjs/admin/src/config/customTools.js` file. \n   - Note: the Image Tool add-on has been highly customized in order to work in Strapi and cannot be edited in the `customTools.js` file. If you wish to develop it further, you may, but it will take much more advanced knowledge and testing.\n6. Rebuild Strapi after installation and after any changes made in the plugin.\n```bash\nyarn build\n# or\nnpm run build\n```\n\n### Please note that the add-ons are configured for Strapi, be careful when changing the configuration.\n\n\u003cbr\u003e\n\n## 👨🏻‍🏭 Developing\n\n1. [Personality Tool](https://github.com/editor-js/personality)\n2. [Attaches Tool](https://github.com/editor-js/attaches)\n3. Full screen mode\n\n\u003cbr\u003e\n\n## ⭐️ Show your support\n\nGive a star if this project helped you.\n","funding_links":[],"categories":["Strapi v3","Libraries"],"sub_categories":["Plugin \u0026 Providers - v3","Plugins for CMS"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelishev%2Fstrapi-plugin-react-editorjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmelishev%2Fstrapi-plugin-react-editorjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelishev%2Fstrapi-plugin-react-editorjs/lists"}