diff --git a/client/src/templates/Challenges/classic/editor.tsx b/client/src/templates/Challenges/classic/editor.tsx index 43616a1fa8..47fad7b12b 100644 --- a/client/src/templates/Challenges/classic/editor.tsx +++ b/client/src/templates/Challenges/classic/editor.tsx @@ -969,7 +969,7 @@ const Editor = (props: EditorProps): JSX.Element => { editor?.focus(); if (isProjectStep() && editor) { - showEditableRegion(editor); + if (hasChangedContents) showEditableRegion(editor); // resetting test output // TODO: DRY this - createOutputNode doesn't also need to set this up.