remove zen styling (#160)

This commit is contained in:
Austin Burdine 2016-07-31 13:35:19 -06:00 committed by Kevin Ansfield
parent eaa328f1d0
commit e9c5beec34
3 changed files with 2 additions and 9 deletions

View File

@ -9,7 +9,6 @@ import ctrlOrCmd from 'ghost-admin/utils/ctrl-or-cmd';
let generalShortcuts = {};
generalShortcuts[`${ctrlOrCmd}+alt+p`] = 'publish';
generalShortcuts['alt+shift+z'] = 'toggleZenMode';
export default Mixin.create(styleBody, ShortcutsRoute, {
classNames: ['editor'],
@ -36,10 +35,6 @@ export default Mixin.create(styleBody, ShortcutsRoute, {
controller.send('save');
},
toggleZenMode() {
$('body').toggleClass('zen');
},
willTransition(transition) {
let controller = this.get('controller');
let scratch = controller.get('model.scratch');

View File

@ -13,8 +13,7 @@ import ShortcutsMixin from 'ghost-admin/mixins/shortcuts';
*
* ```javascript
* shortcuts: {
* 'ctrl+s, command+s': 'save',
* 'ctrl+alt+z': 'toggleZenMode'
* 'ctrl+s, command+s': 'save'
* }
* ```
* For more complex actions, shortcuts can instead have their value

View File

@ -23,8 +23,7 @@ key.setScope('default');
*
* ```javascript
* shortcuts: {
* 'ctrl+s, command+s': 'save',
* 'ctrl+alt+z': 'toggleZenMode'
* 'ctrl+s, command+s': 'save'
* }
* ```
* For more complex actions, shortcuts can instead have their value