Delete child breaks indentation for downstream child

Aperta
#3,018 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
frontend

Direzione di ricerca

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.

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

Descrizione

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 💖
Lingua principale
TypeScript
Stelle
10.2k
Fork
772
Merge medio
3g 11h
PR unite (30g)
17

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.

Altre issue di TypeCellOS/BlockNote

Tutte le issue di TypeCellOS/BlockNote

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.