`Cannot read property 'updateCurrentInput' of undefined` after updating to 2.4.0
- Dominant language
- TypeScript
- Stars
- 159
- Forks
- 105
- PR merge metrics
- No merged PRs in 30d
Description
Working on a project which had been using 2.3.1, with `@editorjs/editorjs` 2.19.1. Yesterday I updated the Embed tool to 2.4.0, and started seeing this error being thrown when clicking in the Editor instance _in the blank space after the last paragraph_:
```
Uncaught TypeError: Cannot read property 'updateCurrentInput' of undefined
at y.value (editor.js?9336:2)
at k.value (editor.js?9336:2)
at HTMLDocument.eval (editor.js?9336:2)
value @ editor.js?9336:2
value @ editor.js?9336:2
eval @ editor.js?9336:2
```
Clicking on existing text in the Editor instance does not throw this error.
After reverting to `@editorjs/embed` to 2.3.1 I do not see the error locally any more.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.