Updated testOnEndEditFromEnter to test that you don’t end editing if you haven’t started it and to properly initiate editing before testing end editing. Also implemented ending editing with enter.