codex-team / codex-team/editor.js

editor.js:2 Uncaught TypeError: Cannot read properties of undefined (reading 'normalize')

Open
#2,804 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
31.9k
Forks
2.2k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

Describe a bug.
Formbuilder - Create a Form: console errors seen
Add Custom Block and click on up and down arrow keys, user will see console errors as below :
`


editor.js:2
Uncaught
TypeError: Cannot read properties of undefined (reading 'normalize')
at Function.value (editor.js:2:1)
at o.get (editor.js:2:1)
at o.value (editor.js:2:1)
at o.value (editor.js:2:1)
at k.value (editor.js:2:1)
at k.value (editor.js:2:1)
at HTMLDocument.eval (editor.js:2:1)

  | value | @ | editor.js:2
-- | -- | -- | --
  | get | @ | editor.js:2
  | value | @ | editor.js:2
  | value | @ | editor.js:2
  | value | @ | editor.js:2
  | value | @ | editor.js:2
  | eval | @ | editor.js:2

`

Steps to reproduce:
1. Add custom block
2. click on up and down arrow keys

Expected behavior:
Console errors should not be thrown

Device, Browser, OS:
All Device, Browser, OS

Editor.js version:
"@editorjs/checklist": "^1.3.0",
"@editorjs/delimiter": "^1.2.0",
"@editorjs/editorjs": "^2.23.2",
"@editorjs/header": "^2.6.2",
"@editorjs/image": "^2.6.2",
"@editorjs/inline-code": "^1.3.1",
"@editorjs/list": "^1.7.0",
"@editorjs/paragraph": "^2.8.0",
"@editorjs/quote": "^2.4.0",
"@editorjs/raw": "^2.3.1",
"@editorjs/table": "^2.0.1",
"@editorjs/text-variant-tune": "^1.0.1",
"@editorjs/underline": "^1.0.0",
"@editorjs/warning": "^1.2.0",
"editorjs-change-case": "^0.0.3",
"editorjs-drag-drop": "^1.1.2",
"editorjs-inline-font-size-tool": "^1.0.1",
"editorjs-text-alignment-blocktune": "^1.0.3",
"editorjs-text-color-plugin": "^1.13.1",
"editorjs-undo": "1.0.1",

Plugins you use with their versions:
"@editorjs/checklist": "^1.3.0",
"@editorjs/delimiter": "^1.2.0",
"@editorjs/editorjs": "^2.23.2",
"@editorjs/header": "^2.6.2",
"@editorjs/image": "^2.6.2",
"@editorjs/inline-code": "^1.3.1",
"@editorjs/list": "^1.7.0",
"@editorjs/paragraph": "^2.8.0",
"@editorjs/quote": "^2.4.0",
"@editorjs/raw": "^2.3.1",
"@editorjs/table": "^2.0.1",
"@editorjs/text-variant-tune": "^1.0.1",
"@editorjs/underline": "^1.0.0",
"@editorjs/warning": "^1.2.0",
"editorjs-change-case": "^0.0.3",
"editorjs-drag-drop": "^1.1.2",
"editorjs-inline-font-size-tool": "^1.0.1",
"editorjs-text-alignment-blocktune": "^1.0.3",
"editorjs-text-color-plugin": "^1.13.1",
"editorjs-undo": "1.0.1",

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.