No shortcut for italics

I can no longer highlight a word and press cmd-i to get italics. In the menu, cmd-i is greyed out. I can though press cmd-t and choose italics in the menu.

This has never been a problem before. I have changed computer to a new MacBook Air and updated it to Catalina. This might be the problem. But if it was, I’d expect to show up also in TextEdit, but TextEdit works as expected.