CefView / QCefView

A Qt Widget encapsulated CEF view based on QWidget
https://cefview.github.io/QCefView/
GNU Lesser General Public License v2.1
527 stars 137 forks source link

[BUG]: 搜狗输入法在NCW模式下选中文字并中文替换异常 #267

Open lixuetinger opened 1 year ago

lixuetinger commented 1 year ago

Describe the bug 【Bug描述】 搜狗输入法在NCW模式下选中文字并输入中文异常

NCW模式下 搜狗输入法选中文字替换中文会影响下一行的文字

To Reproduce 【复现步骤】

  1. 打开 https://www.slatejs.org/examples/richtext ;
  2. 切换搜狗输入法中文输入;
  3. 选中一段字进行中文替换 ;

Expected behavior 【正确的预期行为】

Screenshots 【截图】 image

操作步骤gif: media

Environment 【BUG产生的环境】

Additional context 【更多额外信息】

...

lixuetinger commented 1 year ago

能给个建议如何处理嘛 困扰很久了

Renleilei1992 commented 1 year ago

可以多试几种富文本编辑器看看,比如: https://prosemirror.net https://alastairtaft.github.io/draft-js-editor/basic https://playground.lexical.dev https://remirror.vercel.app/iframe.html?id=editors-controlled--editable&args=&viewMode=story