ianstormtaylor / slate

A completely customizable framework for building rich text editors. (Currently in beta.)
http://slatejs.org
MIT License
29.97k stars 3.25k forks source link

ctrl + a > 中文输入法下输入,编辑器会卡住 #4316

Open LazyJoke opened 3 years ago

liangxiwei commented 3 years ago

why are you speek chinese,who understand what you say?

7sharp9 commented 3 years ago

According to Google Translate:

Input under Chinese input method, the editor will be stuck.

Im not sure if the OP is referring to issue with alt character input. There is a case where the placeholder text is not cancelled if you enter ALT + ` for example the placeholder is not cancelled:

Screenshot 2021-06-25 at 18 39 31

Screen shot via: https://www.slatejs.org/examples/plaintext

I can log this as a separate issue though if wanted?

liangxiwei commented 3 years ago

According to Google Translate:

Input under Chinese input method, the editor will be stuck.

Im not sure if the OP is referring to issue with alt character input. There is a case where the placeholder text is not cancelled if you enter ALT + ` for example the placeholder is not cancelled:

Screenshot 2021-06-25 at 18 39 31

Screen shot via: https://www.slatejs.org/examples/plaintext

I can log this as a separate issue though if wanted?

this issue was fixed,but the example demo source code is too old.

samkk commented 2 years ago

"slate": "^0.72.3", "slate-history": "^0.66.0", "slate-react": "^0.72.1",

There is the same problem, still not fixed, Chinese directly exploded in Firefox Is there a solution?