antonmedv / antonmedv/codejar

Google Chrome v147 introduced a newline regression

Abierto
#135 0 comentarios 1 reacción 0 asignados Ver en GitHub
bug documentation
Lenguaje dominante
TypeScript
Estrellas
2k
Forks
123
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

It seems like something changed in v147 of chrome. My app which was previously using codejar on a `

` element saw newlines stop working.  After investigation I found that `
` tags were being inserted when pressing return instead of newline characters: `\n`.

I discovered that I could resolve this issue by making the CodeJar container a `

` tag instead of a `
` tag.

This was a surprise to me, so I am reporting it here so other developers can be made aware. Perhaps the CodeJar documentation should add a note that editors must be `

` tags, and that browser behavior with other tags is not supported.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.