[Bug] TypeError: t.some is not a function
When adding CodeTool @editorjs/code, It does cause this bug
I used the example from editorjs.io homepage
Steps to reproduce:
- Go to editorjs.io homepage
- Open the console
- Create a new Code block
- Write something
- You should see the error on the console
Expected behavior: To not throw this error
Screenshots:

Device, Browser, OS: Macbook pro, Chrome, Mac os Big Sur
Editor.js version: "^2.22.2"
Plugins you use with their versions:
"@editorjs/code": "^2.7.0"
Same here. Had to rollback to 2.19.3 in a while.
Same here. Had to rollback to 2.19.3 in a while.
Thanks, I was looking for a version to rollback, I'll try it out 🙏.
Thanks Ivanezko,That worked
Same Occurs in "The first plugin" example. I think it would occur when plugin has input field, and type-in there.
The issue is still there in 2.25.0. The issue occurs when I select values from input autocomplete