codex-team / codex-team/editor.js
Plugin AttachesTool
- Dominant language
- TypeScript
- Stars
- 31.9k
- Forks
- 2.2k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
Hi, I'm try to use Plugin **AttachesTool** in editor.js 2.28.0, here is my code:
```
new EditorJS({
...,
tools:{
attaches: {
class: AttachesTool,
config: {
uploader: {
async uploadByFile(file) {
...
return {
success: 1,
file: {
url:...
}
}
}
}
}
},
},
})
```
It was working fine in v2.26.4, but now getting error:
`Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'firstInput')`
The plugin is not support for the last version? or I need to change my setting?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.