Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#2,804 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
28/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript, typescript
領域
frontend

調査の方向性

Formbuilder でカスタムブロックを追加し、上矢印キーと下矢印キーをクリックして問題を再現します。dist/editor.js:2 にある @editorjs/editorjs のスタックトレースから始め、記載されている Editor.js プラグインとバージョンを確認します。再現時にコンソールへ normalize TypeError が出力されなくなれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug

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",

主要言語
TypeScript
スター
32k
フォーク
2.2k
平均マージ
2日 1時間
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

codex-team/editor.js のほかの issue

codex-team/editor.js の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。