Chrome crashed when paste “。)” string in editor
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- Mezza giornata
- Idoneità per principianti
- 38/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- javascript, typescript
- Ambito
- frontend
Direzione di ricerca
The paste path is in modules/tinymce/src/core/main/ts/paste/Clipboard.ts, where the report points at the call to pasteBin.create() around line 282. First reproduce the crash in Chrome on Windows with the pasted string, since the report gives no minimal demo, then trace the paste handler from the keydown event. Done means the string pastes and shows in the editor without crashing, and normal paste still works. The suggested preventDefault is a guess to verify, not a confirmed fix.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
📝 Provide detailed reproduction steps (if any)
Please provide the steps to reproduce and if possible a minimal demo of the problem via fiddle.tiny.cloud or similar.
- Copy a string includes "。)" charactors.
- Click the editor content area.
- Press Ctrl+v to paste the string, then chrome crashed.
✔️ Expected result
Show pasted content in editor.
❌ Actual result
Chrome crashed.
❓ Possible solution
Add e.preventDefault() to modules/tinymce/src/core/main/ts/paste/Clipboard.ts line 282, before pasteBin.create();
📃 Other details
- Browser: Chrome
- OS: windows11
- First affected version: 7.9.0
- Lingua principale
- TypeScript
- Stelle
- 16.3k
- Fork
- 2.3k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
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 tinymce/tinymce
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Autosave: storeDraft throws "Cannot read properties of undefined (reading 'isEmpty')" on BeforeUnload for an editor that is still initialisingForse già presa @rayw-lab l’ha presa 6 giorni fa. Apertaplugin: autosave status: escalated type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Tutte le issue di tinymce/tinymce
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
tenstorrent/ttnn-visualizer#2526 ·
I maintainer di solito rispondono entro 1 giorno
-
trySessionCache calls /get-session twice when minting session_data (cache miss or expired cookie)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
neondatabase/neon-js#301 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
tashfeenahmed/freellmapi#2305 ·
I maintainer di solito rispondono entro 1 giorno
-
[Feature] 新增「查看完整听歌设备记录」接口Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100