Typed or Copied Content Replaces Custom Alert Block Instead of Staying Within It
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
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá 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 with the linked Custom Blocks documentation and reproduce the issue in a custom alert block. Inspect the editor behavior for typed list markers and pasted content within that block. Done means typing or pasting keeps the content inside the alert block instead of replacing it.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description:
I have customized a block type "alert" followed by a custom block on the BlockNote homepage.
However, every time I type '-', '*', '+', '1.' or copy a text segment within the same editor, it replaces the "alert" block instead of placing the content within it.
Steps to Reproduce:
- Create a custom "alert" block as per the documentation.
- Type '-', '*', '+', '1.' or copy and paste a text segment within the "alert" block.
- Observe that the content replaces the "alert" block instead of staying within it.
Expected Behavior:
The typed or copied content should remain within the "alert" block instead of replacing it.
Actual Behavior:
The "alert" block is replaced by the typed or copied content.
https://github.com/TypeCellOS/BlockNote/assets/37234239/b9ebe406-f2de-4b79-b3c7-d7b8d456ced9
Link to Documentation:
BlockNote Custom Schemas - Custom Blocks
- 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
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của TypeCellOS/BlockNote
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
TypeCellOS/BlockNote#3098 ·
-
Off-By-One `RangeError` Crash and Text Duplication in `StyleManager.editLink` and `deleteLink` Đang mởneeds-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
TypeCellOS/BlockNote#3073 ·
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
TypeCellOS/BlockNote#3072 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
TypeCellOS/BlockNote#2949 · 1 bình luận ·
-
a11y
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
TypeCellOS/BlockNote#2855 ·
Tất cả issue của TypeCellOS/BlockNote
Issue tương tự
-
Add: Star Sports 2 Telugu HD Đang mởcheck:passed streams:add
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
usability
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
inmanta/web-console#7367 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
nearform/ag-grid-url-sync#160 ·