MonacoEditor使用问题 #2936
Unanswered
chaoyue1217
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
参考示例https://github.com/opensumi/opensumi-module-samples/blob/main/modules/editor-monaco-component/README.md实现在react页面中的代码编辑器,provider部分如下:


页面中的创建部分如下:
当第一次打开这个界面的时候没有问题,关闭后再打开就报错了

另外,Monaco编辑器所在的react页面是不存在于磁盘上的
Beta Was this translation helpful? Give feedback.
All reactions