Cmd+A doesn't work when a document starts with checkboxes
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- react, typescript
- 領域
- frontend
調査の方向性
Start by reproducing the issue in the BlockNote editor with a checkbox as the first block, then trace the Cmd+A and Backspace selection/deletion behavior. Add regression coverage for this document shape and verify that deleting all content leaves only the default empty block.
索引モデルが issue の本文から書いたものです。
説明
What’s broken?
When a document starts with one or more checkbox blocks, Cmd+A followed by Backspace does not correctly clear the document content.
The issue appears to be specific to documents where a checkbox is the first block. Instead of selecting and deleting the entire document content as expected, the editor gets into a state where the content cannot be fully erased using Cmd+A + Backspace.
A screen recording demonstrating the issue is available here:
https://jam.dev/c/ac0cac24-b097-406e-8e72-f9dd43948e70
What did you expect to happen?
Pressing Cmd+A and then Backspace should select and delete all content in the document, including checkbox blocks, leaving an empty document with the default empty block.
Steps to reproduce
- Create a new BlockNote document.
- Add a checkbox block as the first block in the document.
- Add some additional content below it, such as text or more checkbox blocks.
- Focus the editor.
- Press
Cmd+Ato select all document content. - Press
Backspace. - Observe that the document content cannot be fully deleted.
The issue can be seen in this recording:
https://jam.dev/c/ac0cac24-b097-406e-8e72-f9dd43948e70
BlockNote version
No response
Environment
No response
Additional context
No response
Contribution
- I'd be interested in contributing a fix for this issue
Sponsor
- I'm a sponsor and would appreciate if you could look into this sooner than later 💖
- 主要言語
- TypeScript
- スター
- 10.2k
- フォーク
- 772
- 平均マージ
- 3日 11時間
- マージ済み PR(30日)
- 17
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
TypeCellOS/BlockNote のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
TypeCellOS/BlockNote#3098 ·
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
TypeCellOS/BlockNote#3073 ·
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
TypeCellOS/BlockNote#3072 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
TypeCellOS/BlockNote#2949 · コメント 1 件 ·
-
a11y
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
TypeCellOS/BlockNote#2855 ·
TypeCellOS/BlockNote の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
area:tools bug good first issue help wanted priority:P2
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
TaewoooPark/Motifcode#14 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
newrelic-experimental/preflight#793 · コメント 1 件 ·
-
bug 🐞
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
BasedHardware/omi#15320 ·