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

Bug:无界微前端环境,子应用中,回车会出现光标乱跳,字符被删除的清况 #409

Open
xiewanqin opened this issue Dec 5, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@xiewanqin
Copy link

bug 描述

你好,无界微前端环境的子应用会出现光标乱跳,删除错乱这种清空,子应用单独运行不会,见以下视频,麻烦看下是什么问题呢?

wangEditor-next 版本

5.6.15

17f24ecf362a8b91367e19020624b64b.mp4
@cycleccc
Copy link
Collaborator

cycleccc commented Dec 5, 2024

方便用下面这个仓库复现一下吗
https://github.com/cycleccc/micro-app-demos/commits/main/

@xiewanqin
Copy link
Author

你好,我提交了一个pull request,vue3-child可以复现,可以这么操作,先输入两位汉字,回车,再输入两位汉字,再回车,大概率就会复现

@cycleccc cycleccc added the bug Something isn't working label Dec 28, 2024
@cycleccc
Copy link
Collaborator

cycleccc commented Jan 4, 2025

查了一下可能和 shadowroot 有关,以下 issue 显示不少编辑器在无界中都有光标的 bug。
Tencent/wujie#513
还需要再看看,针对 wangeditor 怎么处理

@cycleccc cycleccc changed the title 无界微前端环境,子应用中,回车会出现光标乱跳,字符被删除的清况 Bug:无界微前端环境,子应用中,回车会出现光标乱跳,字符被删除的清况 Jan 4, 2025
@RyzenPan
Copy link

RyzenPan commented Jan 9, 2025

同样的问题,快速输入两个文字并回车,多次操作就会乱跳,其实底层的slate更多问题,wangeditor已经修复一部分了,但这个还找不到问题根源

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants