Delete child breaks indentation for downstream child

Offen
#3,018 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Aktiv
Tech-Stack
typescript
Bereich
frontend

Rechercherichtung

Start by reproducing the backspace behavior in BlockNote with bullet, checklist, and numbered lists, using the attached examples and the Notion behavior as references. The fix is done when deleting a child no longer unintentionally unindents downstream elements, including in large lists.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

needs-triage
What’s broken?

Behaviour on BlockNote, when I hit backspace to delete a child in a bullet list. Same happens for other types of blocks (checklist, numbered list)

https://github.com/user-attachments/assets/078bf389-0089-44d2-b111-2934a19edf98

Behaviour on Notion

https://github.com/user-attachments/assets/57b443b4-b2a4-409e-a303-e67d7e3960f6

What did you expect to happen?

I'd expect a similar behaviour as Notion.
Sometimes when I'm a meeting a editing a large bullet list, it can unindent dozens of elements

Steps to reproduce

No response

BlockNote version

No response

Environment

No response

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 💖
Vorherrschende Sprache
TypeScript
Sterne
10.2k
Forks
772
Ø Merge
3 T. 11 Std.
Gemergte PRs (30 T.)
17

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus TypeCellOS/BlockNote

Alle Issues in TypeCellOS/BlockNote

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

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