jpuri / react-draft-wysiwyg

A Wysiwyg editor build on top of ReactJS and DraftJS. https://jpuri.github.io/react-draft-wysiwyg
MIT License
6.38k stars 1.15k forks source link

Chinese Compatibility #1340

Open LevonHe opened 1 year ago

LevonHe commented 1 year ago
  1. When I select all the text and enter the Chinese content, only the first line is replaced
  2. 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

LevonHe commented 1 year ago

i have solved it.