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

Commit ee9b747

Browse files
committed
fix: returned to making API route only be 'react-editorjs'
This fixes an issue with the link and image tools not working with yarn/npm installed packages.
1 parent 70aa649 commit ee9b747

File tree

2 files changed

+2
-5176
lines changed

2 files changed

+2
-5176
lines changed

admin/src/pluginId.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
const pluginPkg = require('../../package.json');
2-
/*const pluginId = pluginPkg.name.replace(
2+
const pluginId = pluginPkg.name.replace(
33
/^strapi-plugin-/i,
44
''
5-
);*/
6-
const pluginId = pluginPkg.name;
5+
);
76

87
module.exports = pluginId;

0 commit comments

Comments
 (0)