discourse/app/assets/javascripts/admin/addon
Grayden 61ad959212
UX: Allow saving with cmd+s/ctrl+s with Ace editor (#12674)
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.
2021-05-04 12:56:10 +01:00
..
adapters
components UX: Allow saving with cmd+s/ctrl+s with Ace editor (#12674) 2021-05-04 12:56:10 +01:00
controllers FIX: Allow CodeCommit-style theme .git url format (#12739) 2021-04-16 12:46:34 -04:00
helpers DEV: prettier 2.2.1 (#11862) 2021-01-27 12:39:20 +01:00
mixins DEV: Added support for custom site setting 'emoji_list' (#12414) 2021-04-07 15:32:05 +02:00
models DEV: allows reports to display an html title (#12687) 2021-04-22 13:38:10 +02:00
routes FIX: allow moderators to access /admin/customize/watched_words (#12816) 2021-04-23 18:51:45 +05:30
services FIX: Restore user summary's delete button behavior. (#11844) 2021-01-26 13:10:46 -03:00
templates UX: Allow saving with cmd+s/ctrl+s with Ace editor (#12674) 2021-05-04 12:56:10 +01:00