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

子应用可以使用哪些富文本 #1031

Closed
houliang999 opened this issue Dec 29, 2023 · 7 comments · May be fixed by #1236
Closed

子应用可以使用哪些富文本 #1031

houliang999 opened this issue Dec 29, 2023 · 7 comments · May be fixed by #1236
Labels
bug Something isn't working fixed Issue fixed

Comments

@houliang999
Copy link

主子应用都是vite+vue3 目前我使用wangeditor for vue和tinymce都不行,请问有什么富文本编辑器可以用吗

@houliang999
Copy link
Author

micro-app 版本是1.0.0-beta.5

@guangmang
Copy link

跟富文本编辑器没啥关系啊,我用的是tinymce

@houliang999
Copy link
Author

跟富文本编辑器没啥关系啊,我用的是tinymce

我子应用iframe + keep-aliv后,在主应用切回子应用的时候,富文本编辑器原本显示的东西没了,内容也无法输入了

@houliang999
Copy link
Author

@bailicangdu 麻烦看下这个bug,很容易复现,子应用vite+vue3,配置iframe + keepalive ,富文本tinymce,主子应用切换下,富文本的内容就消失了

@bailicangdu bailicangdu added bug Something isn't working Working on it Working on this issue labels Jan 3, 2024
@whiteMu
Copy link

whiteMu commented Jul 8, 2024

跟富文本编辑器没啥关系啊,我用的是tinymce

请问在子应用中是如何使用tinymce?我在自己的子应用中独立运行编辑器是正常的,但是一嵌入到基座里就报Uncaught SyntaxError: Unexpected token '<' at runCode2InlineScript错误

@ahlzq
Copy link

ahlzq commented Jul 17, 2024

跟富文本编辑器没啥关系啊,我用的是tinymce

请问在子应用中是如何使用tinymce?我在自己的子应用中独立运行编辑器是正常的,但是一嵌入到基座里就报Uncaught SyntaxError: Unexpected token '<' at runCode2InlineScript错误

mircro-app里面使用路径不对,加上
const baseUrl = window.MICRO_APP_PUBLIC_PATH.replace(//$/, '');
image

@bailicangdu bailicangdu added fixed Issue fixed and removed Working on it Working on this issue labels Jul 29, 2024
Copy link

Hello @houliang999. The issue you reported has been fixed. This issue will be closed. Thank you for your feedback.
您好 @houliang999,您反馈的问题已修复,该 issue 将要被关闭,感谢反馈。

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

Successfully merging a pull request may close this issue.

5 participants