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

Aperta
#651 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@i-just ci sta già lavorando.

Dal 17/11/2026.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
58/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
php
Ambito
frontend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
PHP
Stelle
47
Fork
35
Merge medio
1g 2h
PR unite (30g)
25

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di craftcms/ckeditor

Tutte le issue di craftcms/ckeditor

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.