### Initial Checklist - [x] I understand this is a bug report and questions should be posted in the [Community Discussions](https://github.com/orgs/opencloud-eu/discussions/) - [x] I searched [issues](https://github.com/opencloud-eu/web/issues?q=is%3Aissue) and couldn’t find anything (or linked relevant results below) ### Bug Description Pressing `Esc` button on keyboard doesn't behave consistently when editing or previewing a file. ### Reproduction Steps - Create new `.md` file - Press `Esc` => OC UI closes the editor and returns to the folder view - Open the previously created file again and edit it - Press `Esc` => You will get asked whether to save your changes - Save your changes - Press `Esc` => Editor is not closed ### Expected Outcome `Esc` always either closes the editor or file preview or asks for saving changes before. ### Actual Outcome Once a file has been edited `Esc` doesn't close the editor anymore even if changes have already been saved.
Activity