Dragging not undoable with CTRL-Z (without additional click to focus the editor again)
Les mainteneurs répondent en général sous 2 jours
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 58/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- react, typescript
- Domaine
- frontend
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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 💖
- Langage dominant
- TypeScript
- Étoiles
- 10.3k
- Forks
- 778
- Merge moyen
- 2 j 12 h
- PR mergées (30 j)
- 27
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de TypeCellOS/BlockNote
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
TypeCellOS/BlockNote#2949 · 1 commentaire ·
Les mainteneurs répondent en général sous 2 jours
-
a11y
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
TypeCellOS/BlockNote#2855 ·
Les mainteneurs répondent en général sous 2 jours
-
a11y
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
TypeCellOS/BlockNote#2829 · 1 commentaire ·
Les mainteneurs répondent en général sous 2 jours
-
Comment thread actions: hover-only controls and unlabeled buttons in ThreadsSidebaPeut-être pris Une pull request liée à cette issue est ouverte ou déjà fusionnée. Ouvertea11y
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
TypeCellOS/BlockNote#2824 ·
Les mainteneurs répondent en général sous 2 jours
-
CollaborationExtension registered at runtime installs no sync plugin, so edits never reach the Y.DocPeut-être pris @adarshsm l’a pris il y a 1 jour. Ouverte
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
TypeCellOS/BlockNote#3175 ·
Les mainteneurs répondent en général sous 2 jours
Toutes les issues de TypeCellOS/BlockNote
Issues similaires
-
bug cli service
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Les mainteneurs répondent en général sous 1 jour
-
create-element: same editorAlias silent-fallback bug as #201, not covered by that fixPeut-être pris Une pull request liée à cette issue est ouverte ou déjà fusionnée. Ouvertegenerated-by-ai
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
umbraco/Umbraco-CMS-MCP-Editor#208 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Table: Space fires onActivate in single-selection mode — the reference doc and the JSDoc disagreeOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
sidorares/react-x11-components#764 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
backnotprop/plannotator#1840 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
JoviDeCroock/pracht#432 ·
Les mainteneurs répondent en général sous 1 jour