Describe the problem
A code editor that is read-only but allows file uploads shows the "Start from scratch" link when it's empty. This is confusing, especially when you click it - because the editor is read-only, you cannot actually start from scratch.
Expected behavior
The "Start from scratch" link should not appear, when the code editor is read-only.
"Browse" should be the only option.
Screenshots

Describe the problem
A code editor that is read-only but allows file uploads shows the "Start from scratch" link when it's empty. This is confusing, especially when you click it - because the editor is read-only, you cannot actually start from scratch.
Expected behavior
The "Start from scratch" link should not appear, when the code editor is read-only.
"Browse" should be the only option.
Screenshots