-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Uncaught TypeError: Cannot read property 'updateCurrentInput' of undefined #1503
Comments
Hi, |
i got the same thing |
I have the same problem, using Editor.js on React |
it's same for me too when i am using more than one editor instances in the same page |
I got the same. Using editor on modal with Vuejs |
I got the same error using the editor in nuxtjs. I have a toggle button which hides the editor. After toggling once the error occurs. |
Hey guys, Make sure you are initializing the editor using Class-based component, and then call editor.destroy() on unmount
|
|
Seems editor.js does not support multiple editors in one page? |
This bug occurs in the following demo page. Editor.js supported multiple instances in v.2.18.0. |
This error occurs in I sent a pull request. |
Please show exemple. |
Same solution for Angular 10 and editorjs 2.19.1:
|
Looks ok in But got a focus bug #1575, maybe related, thus tagging it here. |
Hello 👋 I am having this problem when switching from a regular input to EditorJS input by pressing Below is the demo page to reproduce the error. When the page loads first click on the input and then press |
Still seeing this with 2.22.2, using |
Hello, I'm trying to figure this out too. I'm currently working on an app that requires displaying more than one editor at the same time. It all works perfectly until I start using editorjs plugins, such as the code plugin. When two or more editors are open and I start typing in them, this error is triggered. Has anybody solved this? Currently using it on a NextJS app at the 2.19.3 version (the latest one 2.22.2 also crashes). |
I'm still having same issue my version is 2.26.4. Could you fix this issue? |
I can't reproduce. Tried described steps along with CodeTool, no error. Tried in So'll close it for now. If a problem will occur, please, recreate an issue with more accurate steps to reproduce. |
Hi team, still i faced same issue "Cannot read properties of undefined (reading 'updateCurrentInput')" can you help me |
When I click on a block of any EditorJS instance when there are two editors in the same page, I get the following error:
This is where the error is produced:
editor.js/src/components/modules/blockManager.ts
Lines 566 to 593 in 43032eb
Steps to reproduce:
Expected behavior: No errors reported to the console.
Device, Browser, OS: Chromium 87
Editor.js version: 2.19.1
The text was updated successfully, but these errors were encountered: