Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Question] Raw data is not aligned with parsed data

Aperta
#120 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
react, typescript
Ambito
frontend

Direzione di ricerca

Start by reproducing the API-data case described in the issue, comparing the raw value in

 and <textarea> with the value shown in the code editor. Trace the code-editor parsing path for special characters and identify where the representations diverge. Done means the editor preserves the same content as the raw data, with a regression test covering the reported characters.

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

Descrizione

Hi everyone,

I am facing with the issue when trying to load the data from the api. There are some special characters which can be displayed normal on

 and <textarea>. But when I try to put these data to the code editor, it is parsed to the content below.
Screen Shot 2022-05-30 at 6 14 06 PM

The raw data that I used the pre and textarea to show
Screen Shot 2022-05-30 at 6 14 15 PM
Screen Shot 2022-05-30 at 6 14 24 PM

Could you guys try to have a look on this issue?

Thanks,

Lingua principale
TypeScript
Stelle
576
Fork
24
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

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

  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 uiwjs/react-textarea-code-editor

Tutte le issue di uiwjs/react-textarea-code-editor

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.