Skip to content

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

@abdessamadely

Description

@abdessamadely

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"

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions