Automattic / Automattic/isolated-block-editor

Uncaught (in promise) TypeError

Open
#246 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
CSS
Stars
409
Forks
66
PR merge metrics
No merged PRs in 30d

Description

Hi,

When I try to run the browser example in Chrome, the Block Editor seems to work fine. But when I add some content I get an error in the console, and I have no idea how to fix it.

Uncaught (in promise) TypeError: Cannot destructure property 'name' of 'a[n]' as it is undefined.
at isolated-block-editor.js:2:1739804
at async t (isolated-block-editor.js:2:1746686)
at async o.elementResize (isolated-block-editor.js:2:1747879)

I have made no changes whatsoever. Just downloaded the code, and opened src/browser/index.html in a browser.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by opening src/browser/index.html in Chrome and reproducing the error after adding content. Inspect the reported failure in isolated-block-editor.js; done means the browser example accepts added content without the uncaught promise TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.