Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Customer FAQ related articles do not react to RichText editor changes

Đang mở
#55 1 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
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
Lĩnh vực
frontend, web-dev

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.log output 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

Image
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

  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 RotherOSS/FAQ

Tất cả issue của RotherOSS/FAQ

Issue tương tự

Thêm issue về Perl

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.