editor.js:2 Uncaught TypeError: Cannot read properties of undefined (reading 'normalize')
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 28/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript, typescript
- 領域
- frontend
調査の方向性
Formbuilder でカスタムブロックを追加し、上矢印キーと下矢印キーをクリックして問題を再現します。dist/editor.js:2 にある @editorjs/editorjs のスタックトレースから始め、記載されている Editor.js プラグインとバージョンを確認します。再現時にコンソールへ normalize TypeError が出力されなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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:
- Add custom block
- 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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
codex-team/editor.js のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
codex-team/editor.js#3037 ·
-
Floating Promise Anti-Pattern & Premature Caret in Multi-Block Paste対応中かも @anshurajbisoyi98-ctrl が 13 日前に担当しました。 オープンbug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
codex-team/editor.js#3032 · コメント 1 件 ·
-
Silent Data Loss & Broken Error Contract in Saver.save()対応中かも @Sion612 が 23 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
codex-team/editor.js#3030 ·
-
Complete Omission of block.destroy() in Blocks Collection対応中かも @Minhal128 が 22 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
codex-team/editor.js#3029 ·
-
Bug: Link cannot be removed対応中かも @prathmeshyelne が 129 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
codex-team/editor.js#3005 · コメント 1 件 ·
codex-team/editor.js の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
agilepathway/label-checker#739 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
CopilotKit/OpenBot#800 ·
メンテナーはふだん 1 日以内に返信
-
Endpoint links in the tag operations list are below the 24px target size対応中かも @AdzerKI が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
ehmpathy/rhachet-roles-bhuild#471 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
メンテナーはふだん 1 日以内に返信