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

Switch monaco-editor-core to monaco-editor #16

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Deuscx
Copy link

@Deuscx Deuscx commented Feb 4, 2023

What this PR does / why we need it:

hi @Kingwl
I have switched monaco-editor-core to monaco-editor to fix #8

From microsoft/monaco-editor#941 and https://github.com/Microsoft/monaco-editor/blob/main/CONTRIBUTING.md#a-brief-explanation-on-the-source-code-structure, monaco-editor includes the languages definitions and include monaco-editor-core. In some case, when build a custom editor , it needs default languages api from monaco-editor like this

monaco.languages.typescript.javascriptDefaults.addExtraLib()

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

Successfully merging this pull request may close these issues.

Implemented in monaco-editor
1 participant