antonmedv / antonmedv/codejar

Google Chrome v147 introduced a newline regression

Ouverte
#135 0 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
bug documentation
Langage dominant
TypeScript
Étoiles
2k
Forks
123
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.