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 时报错 #1341

Open
wayingCode opened this issue Aug 22, 2024 · 5 comments
Open

子应用中使用 wangEditor 时报错 #1341

wayingCode opened this issue Aug 22, 2024 · 5 comments
Labels
bug Something isn't working sandbox sandbox

Comments

@wayingCode
Copy link

问题描述

主子应用vite+vue3,使用iframe沙箱加载子应用,子应用加载完成后直接报错,编辑器工具栏无法展示,且在编辑器输入栏中输入任何内容都会持续报相同错误

复现步骤

1.子应用使用[email protected]
2.子应用通过主应用加载完成后出现
3.在编辑器中进行任何操作都会出现

上传截图

image

复现仓库

https://github.com/wayingCode/micro-app-bug-demo

环境信息

@bailicangdu bailicangdu added bug Something isn't working sandbox sandbox labels Aug 22, 2024
@wayingCode
Copy link
Author

micro-app版降至1.0.0-rc.6 后不会出现该问题 但在富文本编辑器中输入内容时会出现新的问题
image

@silencelilili
Copy link

silencelilili commented Aug 30, 2024

micro-app版降至1.0.0-rc.6 后不会出现该问题 但在富文本编辑器中输入内容时会出现新的问题 image

micro-app版本降到1.0.0-rc.5应该可以

@hjn1028
Copy link

hjn1028 commented Sep 4, 2024

micro-app版降至1.0.0-rc.6 后不会出现该问题 但在富文本编辑器中输入内容时会出现新的问题图像

micro-app版本降到1.0.0-rc.5应该可以

但是1.0.0-rc.5版本从word粘贴过来的内容会丢失样式

@liyangyangi
Copy link

我也先降到 1.0.0-rc.5 了起码不报错。。

@timhub66
Copy link
Member

升级到 v1.0.0-rc.11 试试

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

No branches or pull requests

6 participants