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

theme 主题问题 #74

Open
wowtrxqn opened this issue Jan 8, 2020 · 4 comments
Open

theme 主题问题 #74

wowtrxqn opened this issue Jan 8, 2020 · 4 comments

Comments

@wowtrxqn
Copy link

wowtrxqn commented Jan 8, 2020

只要我在配置new MonacoEditorPlugin里面languages添加语言选项,<MonacoEditor .. theme="vs-dark"/> vs-dark编辑器里背景色就变成白色了,去掉new MonacoEditorPlugin({}) 后,vs-dark颜色才恢复正常,是黑色背景,这是什么原因

@dzcpy
Copy link

dzcpy commented Feb 1, 2020

我没遇到这个问题,可能是你有些配置写错了吧

@wowtrxqn
Copy link
Author

wowtrxqn commented Feb 3, 2020

我没遇到这个问题,可能是你有些配置谢错了吧

我重新建了个仓库 https://github.com/wowtrxqn/vue-monaco-project-test 复现了这个bug,vue.config.js 如果添加了new MonacoEditorPlugin() ,编辑器背景颜色就是白色,去掉了这个插件背景颜色就是vs-dark的黑色

@wowtrxqn
Copy link
Author

wowtrxqn commented Feb 4, 2020

我没遇到这个问题,可能是你有些配置谢错了吧

哥,能帮我看下为什么我这边一直有这个bug呢,我的测试bug复现的仓库 很简单,配置里就一个MonacoEditorPlugin,其他什么都没有,还是有这个bug

@bosquig
Copy link

bosquig commented Feb 25, 2020

You need to delete monaco-editor from your dependencies.

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

3 participants