Customer FAQ related articles do not react to RichText editor changes
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
- 68/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- javascript
Hướng nghiên cứu
Start with var/httpd/htdocs/js/FAQ.Customer.RelatedArticles.js and inspect Core.UI.RichTextEditor.js to confirm how the CKEditor 5 ClassicEditor instance exposes change, paste, and focus-loss events. Preserve the existing $('#Subject').trigger('change') refresh path for typing, pasting, and blur. Done means the related FAQ articles refresh when the customer RichText body changes, without relying on the old CKEditor 4 event names.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
FAQ.Customer.RelatedArticles.js registers RichText editor event handlers using old CKEditor 4 event names. The current OTOBO RichText editor uses CKEditor 5, so the handlers for key, paste, and blur are not fired.
As a result, changes in the customer RichText body do not trigger the related FAQ article refresh logic.
Affected File
var/httpd/htdocs/js/FAQ.Customer.RelatedArticles.js
Actual Behavior
When typing, pasting, or leaving the RichText editor in the customer ticket message form:
- no RichText-related
console.logoutput appears $('#Subject').trigger('change')is not executed from RichText events- related FAQ articles are not refreshed based on the updated body content
Expected Behavior
RichText editor interactions should trigger the existing FAQ related article refresh logic:
- key input should be detected
- paste should be detected
- blur/focus loss should be detected
- related FAQ articles should update when the body content changes
Technical Cause
The code uses CKEditor 4 style handlers:
CKEditorInstances['RichText'].on('key', ...)
CKEditorInstances['RichText'].on('paste', ...)
CKEditorInstances['RichText'].on('blur', ...)
But Core.UI.RichTextEditor.js creates a CKEditor 5 ClassicEditor instance. CKEditor 5 requires different event APIs
- Ngôn ngữ chính
- Perl
- Star
- 0
- Fork
- 6
- 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
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 RotherOSS/FAQ
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
-
tidy code
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
-
bug good first issue
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
-
CKEditor 5 in CustomerTicketMessage überlappt Attachments auf mobilen ViewportsCó thể làm lại được @chzauleck đã nhận 195 ngày trước và không có pull request nào đang mở. Đang mởbug
Tất cả issue của RotherOSS/FAQ
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
libwww-perl/URI#211 ·
-
Type: Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
inverse-inc/packetfence#9549 ·
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 74/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
jimsalterjrs/sanoid#1116 · 1 reaction ·
-
Add .gitattributes so share/skel keeps LF on a Windows git checkoutCó thể đã có người làm @sadhana-s-codez đã nhận 4 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
PerlDancer/Dancer2#1854 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày