codex-team / editor.js

A block-style editor with clean JSON output
https://editorjs.io
Apache License 2.0
28.42k stars 2.07k forks source link

[Bug] TypeError: t.some is not a function #1750

Closed abdessamadely closed 2 years ago

abdessamadely commented 3 years ago

When adding CodeTool @editorjs/code, It does cause this bug I used the example from editorjs.io homepage

Steps to reproduce:

  1. Go to editorjs.io homepage
  2. Open the console
  3. Create a new Code block
  4. Write something
  5. You should see the error on the console

Expected behavior: To not throw this error

Screenshots:

TypeError: t.some is not a function screenshot

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"

Ivanezko commented 3 years ago

Same here. Had to rollback to 2.19.3 in a while.

abdessamadely commented 3 years ago

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 🙏.

nishalk01 commented 3 years ago

Thanks Ivanezko,That worked

corund commented 2 years ago

Same Occurs in "The first plugin" example. I think it would occur when plugin has input field, and type-in there.

khanakia commented 2 years ago

The issue is still there in 2.25.0. The issue occurs when I select values from input autocomplete

Screenshot 2022-07-24 at 11 07 40 AM Screenshot 2022-07-24 at 11 07 50 AM