[6.x]: Esc in a fullscreen CKEditor field closes Preview instead of leaving fullscreen
Maintainers usually reply within 1 day
@i-just is already working on this.
Since Nov 17, 2026.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 58/100
Research direction
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.
Written by the indexing model from the issue text.
Description
Steps to reproduce
- Add the "Fullscreen" button to a CKEditor config and use it in a field.
- Open an entry with that field and click "Preview".
- Click into the field and switch it to fullscreen.
- 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
- Dominant language
- PHP
- Stars
- 47
- Forks
- 35
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 25
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from craftcms/ckeditor
-
repo:ckeditor
Difficulty 1/5 Under an hour Newbie friendliness 78/100
craftcms/ckeditor#682 · 1 comment ·
Maintainers usually reply within 1 day
-
[6.x] Inline styles (alignment, font color, background color) are stripped on savePossibly taken @i-just claimed this today. Openrepo:ckeditor
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
craftcms/ckeditor#676 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
repo:ckeditor
Difficulty 3/5 1-2 days Newbie friendliness 52/100
craftcms/ckeditor#678 · 1 comment ·
Maintainers usually reply within 1 day
-
bug repo:ckeditor
Difficulty 3/5 1-2 days Newbie friendliness 40/100
craftcms/ckeditor#665 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
bug repo:ckeditor
Difficulty 3/5 1-2 days Newbie friendliness 54/100
craftcms/ckeditor#646 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
All issues in craftcms/ckeditor
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Codeinwp/optimole-wp#1259 ·
Maintainers usually reply within 1 day
-
component/core domain/framework
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100