Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Dragging not undoable with CTRL-Z (without additional click to focus the editor again)

Abierto
#3,165 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
58/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
react, typescript
Área
frontend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

needs-triage
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
  1. Go to the BlockNote demo page
  2. Drag some contents with the left-hand drag handle
  3. Press CTRL-Z right afterwards
  4. See that nothing happens
  5. Click inside the editor
  6. Press CTRL-Z again
  7. 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 💖
Lenguaje dominante
TypeScript
Estrellas
10.3k
Forks
778
Merge medio
2 d 12 h
PR fusionados (30 d)
27

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de TypeCellOS/BlockNote

Todos los issues de TypeCellOS/BlockNote

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.