codex-team / codex-team/editor.js

[Bug] Error thrown when modifying text, yes I know it's vague :(

Open
#1,174 4 comments 2 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
31.9k
Forks
2.2k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

We got a report from Sentry that one of our user got a bug when modifying a text.

```
TypeError
Cannot read property 'inputs' of undefined
```

```
{snip} election){var e=this.Editor.BlockManager.getBlock(t.target).inputs;e.length>1&&!this.readyToBlockSelection?this.readyToBlockSelection=!0:1!= {snip}
```

I cannot reproduce it as I don't know how it got triggered.

Yet I know the last user action:

`
ui.click | div.ce-block__content > div.ce-paragraph.cdx-block
`

Browser : Chrome Version: 81.0.4044
Computer : Macbook pro with Mac OS X Version:10.14.6

Editor.js version and plugins you use with their versions:

"@editorjs/checklist": "^1.1.0",
"@editorjs/editorjs": "^2.17.0",
"@editorjs/embed": "^2.3.1",
"@editorjs/header": "^2.4.1",
"@editorjs/image": "^2.3.4",
"@editorjs/link": "^2.1.3",
"@editorjs/list": "^1.4.0",
"@editorjs/marker": "^1.2.2"

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.