0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-18 02:21:47 -05:00
ghost/core
Matt Enlow e10c0f20cf Implement Shortcuts in Ember
Closes #2988, #2752
Ref #1463, #2984,
 # Shortcuts via Keymaster
- Added KeyMaster to bower dependencies. KeyMaster is a minimal keyboard
  shortcuts library.
- Added `ShortcutsRouteMixin` for routes that will use shortcuts.
  Currently, only routes can have shortcuts. See the extensive comment
  at the top of `core/client/mixins/shortcuts-route.js` for a
  description of how to implement shortcuts.

 ## Other Changes
- Injected popover service into ApplicationRoute
- Created `EditorRouteBase` mixin for the `editor.new` and
  `editor.edit` routes to mixin.
- `StyleBodyMixin` now calls `this._super()` on `activate` and
  `deactivate` to play nicely with other mixins.

 ## Shortcuts and Stubs implemented
 #### Application-Wide
- `'esc':'closePopups'` shortcut **stub** to close popovers,
 modals, and notifcations

 #### Editor Shortcuts
- `'ctrl+s, command+s': 'save'` note that `command` is the
  `meta` key.
- `'ctrl+alt+p': 'publish'`
- `'ctrl+alt+z': 'toggleZenMode'`
2014-06-19 15:07:42 -06:00
..
client Implement Shortcuts in Ember 2014-06-19 15:07:42 -06:00
clientold Label 'for' attribute value literal have no delimiter. 2014-06-13 23:32:13 -05:00
server Merge pull request #2969 from jaswilli/when 2014-06-17 20:17:17 +01:00
shared Improving the showdown extensions 2014-03-20 17:08:13 +00:00
test Merge pull request #2969 from jaswilli/when 2014-06-17 20:17:17 +01:00
bootstrap.js Fix up unit tests. Check config url with isURL. 2014-05-29 21:06:40 +00:00
index.js Fix typo in code comment: propogation errata changed to propagation. 2014-06-12 00:45:20 -05:00
server.js Shims for deleted (refactored away) files 2014-01-09 09:21:09 -06:00