[Bug] Uncaught TypeError: Cannot read property 'updateCurrentInput' of undefined
See original GitHub issueWhen I click on a block of any EditorJS instance when there are two editors in the same page, I get the following error:
Uncaught TypeError: Cannot read property 'updateCurrentInput' of undefined
This is where the error is produced:
Steps to reproduce:
- Create two editors in the same page
- Click on a block
Expected behavior: No errors reported to the console.
Device, Browser, OS: Chromium 87
Editor.js version: 2.19.1
Issue Analytics
- State:
- Created 3 years ago
- Reactions:16
- Comments:18 (2 by maintainers)
Top Results From Across the Web
Getting constant error of - Uncaught TypeError: Cannot read ...
Your prop posts is undefined . Check what value you pass to the component and make sure this is an array.
Read more >Cannot read properties of undefined' - JavaScript Debugging
How To Fix ' Uncaught TypeError : Cannot read properties of undefined ' ... In this video we talk about how to solve...
Read more >How to Fix Uncaught TypeError: Cannot read properties of ...
Uncaught TypeError : Cannot read propertyIf you're a JavaScript developer, you've probably seen this error more than you care to admit.
Read more >vue-editor-js - Bountysource
I'm trying to set up aligment tune for blocks, but i'm getting this kind of errors: Uncaught TypeError: Cannot read property 'isInternal' of...
Read more >editor.min.js Uncaught TypeError: Cannot read property ...
In the console I can see following error: editor.min.js?ver=5.7:2 Uncaught TypeError: Cannot read property 'replace' of undefined at r ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://github.com/codex-team/editor.js/pull/1364/files#diff-73cbc05ddd84b0686ee89460cb98dfc39099c8472677e743192f301e26c2347cR584
This error occurs in
BlockManager.setCurrentBlockByChildNode()
I sent a pull request.
Hi, I have the same problem. Currently using the editor on a Modal developed on React. When you open the modal again the error appears on the console.