Pressing enter while focused on Title or Summary field discards post draft
I was testing for some other issues today and accidentally found this one. One of my post drafts got lost to this bug unfortunately. Good thing I didn't lose any long drafts!
Steps to reproduce:
- Prepare a post draft
- Fill up title, summary, tags, post body
- Focus on either Title or Summary field and press enter key on keyboard
Expected behavior:
Retain all the field values and don't close the editor.
Current behavior:
Closes up the editor and when opened again all the field values except Summary field stays. Even the post body gets lost!
Screen capture:
Here is a screen capture of the issue