TypeCellOS / TypeCellOS/BlockNote

Toggle block content is moved to next toggle block

Offen
#2,378 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

bug:P2 sponsor
Vorherrschende Sprache
TypeScript
Sterne
10.2k
Forks
772
Ø Merge
3 T. 11 Std.
Gemergte PRs (30 T.)
17

Beschreibung

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 💖

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
react, typescript
Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.