If you look at the original post for problems with this challenge, you, too, may get frustrated that there was no solution(s) marked clearly as solutions. I still have no absolute solution, just what worked for me on my Android mobile. I copy/pasted the example code into Google Docs, made the necessary corrections for that particular challenge, and then copy/pasted the edited code back into the original editor.
This challenge was the first one that gave me any editor issues, but because I often use my mobile instead of a laptop, tablet, or desktop, I have the feeling that I may have to use this solution often. Quite tedious, but c’est la vie for now. I am sure that someone will resolve this for future challenge participants, hopefully sooner rather than later.