Dragging not undoable with CTRL-Z (without additional click to focus the editor again)
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 58/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- react, typescript
- 領域
- frontend
調査の方向性
Start by tracing how the drag handle performs block moves and applies font color, then follow how those actions restore editor focus and interact with undo. Reproduce on the BlockNote demo in Firefox or Chrome: immediately press CTRL-Z after each action. Done when both actions can be undone without an extra click in the editor.
索引モデルが issue の本文から書いたものです。
説明
What’s broken?
When dragging contents with the drag handle on the left of the editor, pressing CTRL-Z right afterwards does not undo the changes. You first have to click inside the editor to focus it again, then it works.
The same happens if you apply a custom font color via the drag handle menu. Only after clicking into the editor again, CTRL-Z works.
Tested on Firefox and Chrome on Linux.
What did you expect to happen?
Pressing CTRL-Z should work right after dragging without needing to click in the editor before.
Steps to reproduce
- Go to the BlockNote demo page
- Drag some contents with the left-hand drag handle
- Press CTRL-Z right afterwards
- See that nothing happens
- Click inside the editor
- Press CTRL-Z again
- See that it works
BlockNote version
No response
Environment
Chrome and Firefox on Linux
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.3k
- フォーク
- 778
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 27
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
TypeCellOS/BlockNote のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
TypeCellOS/BlockNote#2949 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
a11y
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
TypeCellOS/BlockNote#2855 ·
メンテナーはふだん 2 日以内に返信
-
a11y
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
TypeCellOS/BlockNote#2829 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
Comment thread actions: hover-only controls and unlabeled buttons in ThreadsSideba対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンa11y
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
TypeCellOS/BlockNote#2824 ·
メンテナーはふだん 2 日以内に返信
-
CollaborationExtension registered at runtime installs no sync plugin, so edits never reach the Y.Doc対応中かも @adarshsm が今日担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
TypeCellOS/BlockNote#3175 ·
メンテナーはふだん 2 日以内に返信
TypeCellOS/BlockNote の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
supadata-ai/mcp#27 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
capricorn86/happy-dom#2485 ·
メンテナーはふだん 2 日以内に返信
-
优化导入 OCR 模型选择文件的按钮样式オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
siyuan-note/siyuan#20430 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Albert-Weasker/niubigeo#194 ·
メンテナーはふだん 1 日以内に返信