diff --git a/client/src/templates/Challenges/classic/editor.tsx b/client/src/templates/Challenges/classic/editor.tsx index 26026ece36..3febafa343 100644 --- a/client/src/templates/Challenges/classic/editor.tsx +++ b/client/src/templates/Challenges/classic/editor.tsx @@ -1084,7 +1084,7 @@ const Editor = (props: EditorProps): JSX.Element => { editorDidMount={editorDidMount} editorWillMount={editorWillMount} onChange={onChange} - options={options} + options={{ ...options, folding: !hasEditableRegion() }} theme={editorTheme} />