When I click the editor it just sits and spins.
Sorry to hear you are having problems there. The editor is recently (only last couple of months) out of Beta I believe.
Some things that I have found work is:
trying it in another browser or clearing cache and trying again.
waiting for your terminal session to fully load before attempting to load the editor
As this is part of the GCP console, if you are finding you are still having problems be sure to check out: https://cloud.google.com/shell/docs/getting-support
This may help you quite a bit with nutting out why your browser isn’t loading the online editor.
Hope this helps,