remove zen styling (#160)
This commit is contained in:
parent
eaa328f1d0
commit
e9c5beec34
|
@ -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');
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue