When I select all the text and enter the Chinese content, only the first line is replaced
When I select the first line and the part of the second line, and then enter the Chinese content, a blank line appears on the second line, and an error message appeared at the console tab
https://user-images.githubusercontent.com/28700052/211567609-9e5fd768-9f59-48b2-8d4b-17186a8d4890.mp4
https://user-images.githubusercontent.com/28700052/211567692-cfb07f98-d542-4280-9330-447ec53a6ddc.mp4