Dragging not undoable with CTRL-Z (without additional click to focus the editor again)
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 58/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- react, typescript
- Ambito
- frontend
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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 💖
- Lingua principale
- TypeScript
- Stelle
- 10.3k
- Fork
- 778
- Merge medio
- 2g 12h
- PR unite (30g)
- 27
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di TypeCellOS/BlockNote
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
TypeCellOS/BlockNote#2949 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
a11y
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
TypeCellOS/BlockNote#2855 ·
I maintainer di solito rispondono entro 2 giorni
-
a11y
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
TypeCellOS/BlockNote#2829 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Comment thread actions: hover-only controls and unlabeled buttons in ThreadsSidebaForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaa11y
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
TypeCellOS/BlockNote#2824 ·
I maintainer di solito rispondono entro 2 giorni
-
CollaborationExtension registered at runtime installs no sync plugin, so edits never reach the Y.DocForse già presa @adarshsm l’ha presa 1 giorno fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
TypeCellOS/BlockNote#3175 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di TypeCellOS/BlockNote
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
cline/mcp-marketplace#2932 ·
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
lingdojo/kana-dojo#32188 · 1 commento · 5 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Portkey-AI/gateway#1844 ·
I maintainer di solito rispondono entro 1 giorno
-
needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 61/100
rjsf-team/react-jsonschema-form#5495 ·
I maintainer di solito rispondono entro 2 giorni