Multiple white spaces are being collapsed when pasting content to an editor
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 62/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- frontend
Direzione di ricerca
Start by reproducing the issue with the linked TinyMCE fiddle: create editor content containing “T EST” and insert the HTML. Then trace the editor’s HTML-paste handling and look for related tests; the payload names no files or tests. Done means pasted content retains both spaces, with a regression test covering the case.
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.
- Set up an editor
- Select that editor
- Create content with double spaces, (eg. "T EST")
- Insert the html content
https://fiddle.tiny.cloud/2osK1q9Amj/1
✔️ Expected result
"T EST" (Double spaces between the T and the E)should be displayed
❌ Actual result
"T EST" (Only one space between the T and the E)
❓ Possible solution
📃 Other details
- Browser: Chrome
- OS: Windows
- First affected version:8
- Worked in version:
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
- 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