TypeCellOS / TypeCellOS/BlockNote

Toggle block content is moved to next toggle block

Abierto
#2,378 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

bug:P2 sponsor
Lenguaje dominante
TypeScript
Estrellas
10.2k
Forks
772
Merge medio
3 d 11 h
PR fusionados (30 d)
17

Descripción

Describe the bug
Content from 1st toggle block is moved to the newly created toggle block

To Reproduce

  1. Hit enter on a folded toggle block with content
  2. see another toggle block appear with the content from the first toggle block

https://github.com/user-attachments/assets/721b5674-1360-437a-9b03-09a21f5ac95e

Misc

  • Node version:
  • Package manager:
  • Browser:
  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖

Guía de contribución

Abrir la guía de contribución

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.

Línea de trabajo

Start by reproducing the issue in the BlockNote editor: press Enter on a folded toggle block that contains content and observe the newly created toggle block. Trace the toggle-block handling and verify the fix by confirming that content remains in the original block and the new block is empty or contains only the intended content.

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

Evaluación

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

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.