antonmedv / antonmedv/codejar

Google Chrome v147 introduced a newline regression

Đang mở
#135 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
bug documentation
Ngôn ngữ chính
TypeScript
Star
2k
Fork
123
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.