codex-team / editor.js

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

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

Open manishfdsu opened 3 months ago

manishfdsu commented 3 months ago
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 : `
Uncaught
TypeError: Cannot read properties of undefined (reading 'normalize') at Function.value () at o.get () at o.value () at o.value () at k.value () at k.value () at HTMLDocument.eval ()
 
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",

idebenone commented 6 days ago

Hi @manishfdsu, Could you please attach screenshots or video demonstrations about this bug, as we are not able to clearly understand the issue here.