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

wangeditor无法兼容谷歌拓展插件grammarly #5960

Open
CDragonTime opened this issue Sep 24, 2024 · 2 comments
Open

wangeditor无法兼容谷歌拓展插件grammarly #5960

CDragonTime opened this issue Sep 24, 2024 · 2 comments

Comments

@CDragonTime
Copy link

CDragonTime commented Sep 24, 2024

bug 描述

使用语意错误识别后点击无法正确的更换对应单词,再次输入字符后光标跑到开头,并且插件的替换也没有生效
image

你预期的样子是?

可以正确替换并且不影响内部逻辑

系统和浏览器及版本号

mac系统
image
插件:
image

wangEditor 版本

image

demo 能否复现该 bug ?

最小成本的复现步骤

1、扩展程序安装Grammarly并启用
2、在官方demo中https://www.wangeditor.com/demo/index.html输入manage/suggestion/richContent;按照插件提示点选为正确语法,再次输入文字后就会出现问题

@cycleccc
Copy link

wangeditor 现在的逻辑是监听各种输入事件,而 grammarly 插件是直接更改 dom ,需要做兼容。

@CDragonTime
Copy link
Author

wangeditor 现在的逻辑是监听各种输入事件,而 grammarly 插件是直接更改 dom ,需要做兼容。

会在最近版本兼容吗,还是有其他的替代方式?

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

2 participants