[Question] Raw data is not aligned with parsed data

Aberta
#120 1 comentário 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
25/100
Tipo de issue
Bug
Clareza
Precisa de esclarecimento
Status de atividade
Estagnada
Stack de tecnologia
react, typescript
Domínio
frontend

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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,

Linguagem predominante
TypeScript
Estrelas
577
Forks
25
Merge médio
1h 35min
PRs com merge (30d)
2

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de uiwjs/react-textarea-code-editor

Todas as issues de uiwjs/react-textarea-code-editor

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.