I'm gathering notes from my Javascript class and everything I cut and paste to TextEdit converts to black text. I've tried Rich text, plain text, Paste and Match style, multi-key combinations found on the web and Apple user guides - nothing.
Here's what I was trying to copy to TextEdit - jus the demo section with colored font: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining
Why does TextEdit convert pasted text to black?