Delete child breaks indentation for downstream child

Đang mở
#3,018 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
frontend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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 💖
Ngôn ngữ chính
TypeScript
Star
10.2k
Fork
772
Merge trung bình
3 ngày 11 giờ
Pull request đã merge (30 ngày)
17

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của TypeCellOS/BlockNote

Tất cả issue của TypeCellOS/BlockNote

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.