antonmedv / antonmedv/codejar

Google Chrome v147 introduced a newline regression

未关闭
#135 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
bug documentation
主要语言
TypeScript
星标
2k
派生
123
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。