You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
help wantedOpen for all. You do not need permission to work on these.platform: learnUI side of the client application that needs familiarity with React, Gatsby etc.
Note: reading the component issues, it seems it doesn't work with NextJs 😞
If you would like to fix this issue, please make sure you read our guidelines for contributing, we prioritize contributors following the instructions in our guides. Join us in our chat room or the forum if you need help contributing, our moderators will guide you through this.
help wantedOpen for all. You do not need permission to work on these.platform: learnUI side of the client application that needs familiarity with React, Gatsby etc.
Activity
Sboonny commentedon Jan 5, 2023
The issue with editor itself, if we don't have value for
theme, it won't apply the desired theme.Here is the theme logic in the library.
https://github.com/react-monaco-editor/react-monaco-editor/blob/8dba5e38c43a6c52bf9a4ff9ef35893306b70df5/src/editor.tsx#L73
Adding the JS script logic that decided the theme in this file
freeCodeCamp/client/src/templates/Challenges/classic/editor.tsx
Line 1207 in 38a1204
themebased on the camper color scheme, should fix this.Note: reading the component issues, it seems it doesn't work with NextJs 😞
If you would like to fix this issue, please make sure you read our guidelines for contributing, we prioritize contributors following the instructions in our guides. Join us in our chat room or the forum if you need help contributing, our moderators will guide you through this.