codex-team / codex-team/editor.js
[Bug] Entering editor using TAB key causes TypeError: Cannot read property 'name' of undefined
- Dominant language
- TypeScript
- Stars
- 31.9k
- Forks
- 2.2k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
TypeError: Cannot read property 'name' of undefined when keyboard Tab is used to enter the editor.
Steps to reproduce:
1. Add any normal input field and add editorjs editor below it
2. Use tab key to enter the editor
3. Type a normal paragraph without using the mouse and hit ENTER key to goto next line
4. `TypeError: Cannot read property 'name' of undefined` soon after hitting Enter key
```
o.value
node_modules\@editorjs\editorjs\dist\editor.js (5187:0)
```
Seems to happen here:
`a = o.available[i.name];`
Expected behavior: There should not be errors for this ordinary action
Device, Browser, OS: Windows Chrome
Editor.js version: 2.18.0 (2.19 has another open bug that makes it unusable) - https://github.com/codex-team/editor.js/issues/1400
Plugins you use with their versions:
Nothing for paragraph but I use image, embed, alert
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.