When editing the files for a theme in the admin dashboard, typing “cmd+s” (a common key-binding to save in most text editors) used to engage the browser’s default “save page” dialogue.
This commit adds a key-binding to the ace editor that saves the file.
Now, the “cmd+s” (and “ctrl+s” for windows) key-binding does the same action as the save button.
Note: I didn’t write a test for this because I’m not sure where the JS tests are located. I can write a test if needed as long as someone points me in the right direction.