image
image copied to clipboard
Paste handling for «image» Tool hasn't been set up because of the error TypeError: Cannot read property 't' of undefined

`API request-
image: {
class: ImageTool,
config: {
endpoints: {
byFile: "apiurl", // Your backend file uploader endpoint
byUrl: "https://localhost:8008/fetchUrl", // Your endpoint that provides uploading by Url
},
additionalRequestHeaders: {
Authorization: `Bearer ${localStorage.getItem("token")}`,
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "GET,PUT,POST,DELETE,PATCH,OPTIONS",
},
field: "file",
},
},
package.json -
"devDependencies": {
"@editorjs/image": "^2.3.1",
.............
}`
This yelloe bg error is coming before even clicking on the editor. I have already tried to update to the latest version 2.6.0, but still getting same error.
This error came out of no where. Everyrhing was working perfectly, then I tried using this plugin -https://github.com/trinhtam/editorjs-hyperlink
But this plugin wasn't working. So i removed it and now getting this "t" error
