Skip to content

Commit

Permalink
Try forcelang param
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-robert committed Jan 17, 2025
1 parent 80f6f7a commit 1355bcf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const Editor = forwardRef<MakeCodeFrameDriver, EditorProps>(function Editor(
controllerId={controllerId}
controller={2}
lang={getMakeCodeLang(languageId)}
queryParams={{ forceLang: getMakeCodeLang(languageId) }}
loading="eager"
{...editorCallbacks}
{...props}
Expand Down

0 comments on commit 1355bcf

Please sign in to comment.