Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.

Commit

Permalink
fix: returned to making API route only be 'react-editorjs'
Browse files Browse the repository at this point in the history
This fixes an issue with the link and image tools not working with yarn/npm installed packages.
  • Loading branch information
jaskipper committed Feb 26, 2022
1 parent 70aa649 commit ee9b747
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5,176 deletions.
5 changes: 2 additions & 3 deletions admin/src/pluginId.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
const pluginPkg = require('../../package.json');
/*const pluginId = pluginPkg.name.replace(
const pluginId = pluginPkg.name.replace(
/^strapi-plugin-/i,
''
);*/
const pluginId = pluginPkg.name;
);

module.exports = pluginId;

0 comments on commit ee9b747

Please sign in to comment.