[6.x]: Esc in a fullscreen CKEditor field closes Preview instead of leaving fullscreen

Đang mở
#651 3 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@i-just đang làm issue này rồi.

Từ ngày 17/11/2026.

Đá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
58/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
php
Lĩnh vực
frontend

Hướng nghiên cứu

Start by tracing how the CKEditor fullscreen button handles Esc and how Craft CMS Preview handles the same key while an entry is open. Reproduce the steps with CKEditor 6.0.0-beta.1 in Chrome, then identify where the key handling conflicts. Done when the first Esc exits fullscreen while leaving Preview open, and a second Esc closes Preview.

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

Mô tả

bug repo:ckeditor
Steps to reproduce
  1. Add the "Fullscreen" button to a CKEditor config and use it in a field.
  2. Open an entry with that field and click "Preview".
  3. Click into the field and switch it to fullscreen.
  4. Press Esc.
Expected behavior

Esc leaves fullscreen and returns to the editor in the form. The preview stays open, and pressing Esc again closes it.

Actual behavior

The preview closes and the editor stays fullscreen on top of the page.

Version: Craft CMS 6.x-dev (aa0238c2b9), CKEditor 6.0.0-beta.1, Chrome

Ngôn ngữ chính
PHP
Star
47
Fork
35
Merge trung bình
1 ngày 2 giờ
Pull request đã merge (30 ngày)
25

Chuẩn bị môi trường

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 craftcms/ckeditor

Tất cả issue của craftcms/ckeditor

Issue tương tự

Thêm issue về PHP

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.