Cannot convert Toggle Heading to regular Heading — it remains collapsible

Đang mở
#2,124 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
react, typescript
Lĩnh vực
frontend

Hướng nghiên cứu

Start by reproducing the conversion through the block type menu: change a Toggle Heading to Heading H1, H2, and H3 and observe whether it still collapses. Trace the conversion path for these block types and consider the issue done when each resulting regular Heading no longer expands or collapses.

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

Mô tả

bug:P2

Describe the bug
Switching a block from Toggle Heading to a regular Heading (H1/H2/H3) does not remove the toggle behavior. The block continues to collapse/expand instead of behaving like a standard heading.

To Reproduce
To Reproduce

  1. Create a block of type Toggle Heading (any level).
  2. Open the block type menu and change it to Heading (H1/H2/H3).
  3. Observe that the block still collapses/expands like a toggle.

Misc

  • Node version:
  • Package manager:
  • Browser:
  • 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.