Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

先输入中文,再输入中文逗号,再输入中文时,中文逗号消失,光标跳转到最前面 #6022

Open
baodingtaotao opened this issue Jan 13, 2025 · 0 comments

Comments

@baodingtaotao
Copy link

baodingtaotao commented Jan 13, 2025

问题描述

搜狗高速浏览器,版本号 10.0.0.33101(最新版chrome,也会偶现这个问题),先输入中文,再输入中文逗号,再输入中文,中文逗号消失,光标跳转到最前面,报错 Uncaught (in promise) Error: Cannot resolve a DOM point from Slate point: {"path":[0,0],"offset":4}

wangEditor 版本

5.1.23

是否查阅了文档 ?

(文档链接 www.wangeditor.com

是,定位到问题原因,输入中文逗号时,没有触发keypress或compositionend事件

最小成本的复现步骤

(请告诉我们,如何最快的复现该问题?)

  • 步骤一 输入中文
  • 步骤二 再输入中文逗号
  • 步骤三 再输入中文
@baodingtaotao baodingtaotao changed the title 输入中文逗号,再输入中文,中文逗号消失,光标跳转到最前面 先输入中文,再输入中文逗号,再输入中文时,中文逗号消失,光标跳转到最前面 Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant