TypeCellOS / TypeCellOS/BlockNote

Toggle block content is moved to next toggle block

Aperta
#2,378 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

bug:P2 sponsor
Lingua principale
TypeScript
Stelle
10.2k
Fork
772
Merge medio
3g 11h
PR unite (30g)
17

Descrizione

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 💖

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
react, typescript
Ambito
frontend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.