Typing stops working
As I am typing the keyboard just stops working. I cannot go forward or back. Then I have to click into a space well ahead, the area I am typing turns a color as though I am highlighting the paragraph, and on one occasion, I was writing in a comment section online, and it posted the completed area to the site. I have been trying to set up a shortcut recently, unsuccessfully, and thought that possibly I inadvertently created the problem.
iMac (M1, 2021)