mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-27 21:03:29 +03:00
e10c0f20cf
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'`
31 lines
1.0 KiB
JSON
31 lines
1.0 KiB
JSON
{
|
|
"name": "ghost",
|
|
"dependencies": {
|
|
"backbone": "1.0.0",
|
|
"codemirror": "4.0.1",
|
|
"Countable": "2.0.2",
|
|
"ember": "1.5.0",
|
|
"ember-data": "~1.0.0-beta.7",
|
|
"ember-load-initializers": "git://github.com/stefanpenner/ember-load-initializers.git#0.0.1",
|
|
"ember-resolver": "git://github.com/stefanpenner/ember-jj-abrams-resolver.git#181251821cf513bb58d3e192faa13245a816f75e",
|
|
"fastclick": "1.0.0",
|
|
"ghost-ui": "0.1.3",
|
|
"handlebars": "1.3.0",
|
|
"ic-ajax": "1.0.1",
|
|
"jquery": "1.11.0",
|
|
"jquery-file-upload": "9.5.6",
|
|
"jquery-hammerjs": "1.0.1",
|
|
"jquery-ui": "1.10.4",
|
|
"keymaster": "madrobby/keymaster#0f09fc1b7e66c2b7e07afe89a419366dcf2d1cd8",
|
|
"lodash": "2.4.1",
|
|
"moment": "2.4.0",
|
|
"nprogress": "0.1.2",
|
|
"showdown": "https://github.com/ErisDS/showdown.git#v0.3.2-ghost",
|
|
"validator-js": "3.4.0",
|
|
"loader.js": "stefanpenner/loader.js#1.0.0"
|
|
},
|
|
"resolutions": {
|
|
"ember": "~1.4.0"
|
|
}
|
|
}
|