Skip to content

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

Open
Deuscx wants to merge 2 commits intoKingwl:mainfrom
Deuscx:feat/editor
Open

Switch monaco-editor-core to monaco-editor#16
Deuscx wants to merge 2 commits intoKingwl:mainfrom
Deuscx:feat/editor

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