If your Code Editor is stuck in text code mode that means there is a mistake or issue with your code that is preventing it from entering drag-and-drop mode. You will need to fix the mistake before you can go back to drag-and-drop mode. No need to panic! Have a look at your chat window - it can help you work out what might be wrong.
If you're stuck, you can refresh the webpage to restore your code to the last time it worked and saved properly, or you can use the undo keyboard shortcut (Ctrl+Z on Windows, Cmd+Z on Mac).
If you accidentally deleted too much when trying to fix it and can't get it back, you can restore an earlier version of your code before it went wrong. To do this, click on 'Restore previous versions' within your project 👍