The problem is with the dark mode setting in both Mac and Chrome. The best to resolve this is to turn off dark mode for the OS or the App or the browser, and it should start showing the text in the editor.