Editor writes content backwards when enclosed within Blazorise Validations component
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
- 30/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- html
- Lĩnh vực
- frontend
Hướng nghiên cứu
Start with the linked TinyMceBackwardsRepro repository and reproduce the issue using the Blazorise Form and Validations components shown in the issue. Trace how the editor handles bind-Value and Field updates when validation runs; the issue reports the cursor returning to the start on each keypress. Done means typing keeps the cursor in place and text appears in the intended order.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hi, I have run into a very strange issue when using the component inside Blazorise.
Steps to repro (also see repro link here - https://github.com/gdunit/TinyMceBackwardsRepro)
- Create Blazorise Form then Validations components
- Embed the editor within the Validations (this is required in my solution due to structure of components)
- Editor is configured to use bind-Value and Field properties
- When the editor is focused, any keypress results in the cursor being returned to the start of the editor and therefore text appears 'backwards' when typed. I strongly suspect this is because of the editor being refocused on each keypress due to something that is triggered by the validation checking.
<Form>
<Validations Model="@this" ValidateOnLoad="false">
@*This TextEdit just here to demonstrate relationship to other components in form*@
<Validation>
<Field>
<TextEdit @bind-Text="SingleLineText">
<Feedback>
<ValidationError/>
</Feedback>
</TextEdit>
</Field>
</Validation>
<Editor Field="@(() => TinyMceRichText)" @bind-Value="TinyMceRichText"></Editor>
</Validations>
</Form>
@code{
[Required]
public string? SingleLineText { get; set; }
public string? TinyMceRichText { get; set; } = "Hello";
}
- Ngôn ngữ chính
- HTML
- Star
- 57
- Fork
- 17
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc 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 tinymce/tinymce-blazor
-
status: escalated
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 42/100
tinymce/tinymce-blazor#89 · 3 bình luận · 7 reaction ·
-
bug status: escalated
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
tinymce/tinymce-blazor#83 · 5 bình luận ·
-
Clarity on ScriptSrcĐang mởdocumentation GitHub status: escalated
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 35/100
tinymce/tinymce-blazor#70 · 4 bình luận · 1 reaction ·
-
Editor not loadingĐang mởGitHub
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
tinymce/tinymce-blazor#59 · 8 bình luận ·
-
Debounce/delayĐang mởenhancement GitHub
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 28/100
tinymce/tinymce-blazor#58 · 2 bình luận ·
Tất cả issue của tinymce/tinymce-blazor
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
vetro-protocol/vetro-monorepo#1321 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Action playback and Record Again still open Convert to Frame with the old 1 to 300000 integer fields and no unit readingCó thể đã có người làm @Higgs32584 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
storytold/photocraft#20578 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bugfix
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày