[Beta]: Keyboard input on a selection that mixes a keycap and plain text changes nothing
I maintainer di solito rispondono entro 1 giorno
@natamox ci sta già lavorando.
Dal 26/10/2026.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- react, typescript
- Ambito
- frontend
Direzione di ricerca
Start in the /docs/kbd demo and trace the More > Keyboard input toolbar action for a selection containing both kbd marked and plain text. Compare how the action handles a mixed selection with its behavior on platejs.org; the issue does not identify the implementation files or tests, so locate the relevant code and coverage first. Done when toggling the mixed selection gives the whole selection one state, matching the reported expected behavior.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Testing lane
- Repository:
udecode/plate - Branch:
next - Release channel: Beta
- Exact commit/package version:
NOT_ENOUGH_INFO
Summary
On /docs/kbd, selecting text that is partly a keycap (the kbd mark) and partly plain text, then choosing More > Keyboard input, leaves both parts as they were: the keycap stays and the plain text stays plain. On platejs.org the same toggle removes the keycap from the whole selection. Sin found it in Firefox.
Reproduction
Repro 1: /docs/kbd, Firefox
An agent ran this in Firefox on macOS on 2026-10-21, five times including once in a fresh tab, and twice on platejs.org.
- Open https://beta.platejs.org/docs/kbd.
- In the demo editor, make a line that reads
KEYas a keycap followed byPLAINas plain text. - Select the whole line,
KEYPLAIN. - In the floating toolbar, choose More > Keyboard input.
Results:
- Beta:
KEYkeeps its keycap, andPLAINstays plain. The menu item has no visible effect on this selection. - https://platejs.org/docs/kbd:
KEYloses its keycap, and the whole line is plain text.
Sin confirmed it by hand on 2026-10-23 (Beijing time).
Expected
Keyboard input on a mixed selection gives the whole selection one state. platejs.org removes the keycap from all of it. Sin expects the same.
Actual
As listed under Results. Beta changes neither part.
Environment
- Exact
nextcommit/Beta package version:NOT_ENOUGH_INFO. The page does not show its build. - Firefox on macOS, 2026-10-21; the version was not noted. Sin's hand check on 2026-10-23 (Beijing time).
- Not tried in Chrome, Safari or on a phone. Not replayed on the live Beta after 2026-10-23.
Caveat
The cause was not traced.
Evidence
- Repro 1: the agent's recording, 0:13, Beta on the left and platejs.org on the right, recorded separately and aligned by step, with a zoomed view of the line below each side. An internal record number in the title is covered with a dark box. The zoomed views show the result: Beta still has
KEYas a keycap beforePLAIN, and platejs.org showsKEYPLAINas plain text.
Repro 1 — Firefox, /docs/kbd (Beta left, platejs.org right)
https://github.com/user-attachments/assets/7a1f1459-e49c-4d0a-9fd0-2e294934a46c
Related
- None.
- Lingua principale
- TypeScript
- Stelle
- 16.6k
- Fork
- 993
- Merge medio
- 20h 1m
- PR unite (30g)
- 60
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di udecode/plate
-
triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
mobile triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
[Beta]: The docs Demo example page starts with an empty editorForse già presa @natamox l’ha presa oggi. Apertatriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
udecode/plate#5308 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di udecode/plate
Issue simili
-
e2e-failure ready-to-code
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
redhat-developer/rhdh-plugin-export-overlays#4580 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
devdotfast/whiteboard#1415 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
area/sessions comp/desktop desktop/sessions P2 type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
NousResearch/hermes-agent#145383 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement p2 setup
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
vercel/eve#5419 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno