editor-js / editor-js/image

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

Open
#151 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
285
Forks
307
PR merge metrics
No merged PRs in 30d

Description

![Screenshot (7)](https://user-images.githubusercontent.com/68271221/121476076-15de9080-c97b-11eb-880b-4f6d9f749fd4.png)

```
`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",
.............
}`
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.