mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
🐛 Fixed unexpected publishing of post via split-preview shortcut (Publish shortcut is now Ctrl/Cmd+Shift+P
) (#924)
closes https://github.com/TryGhost/Ghost/issues/9296 If a user is trying to use the split screen preview shortcut in the admin client (`CTRL+ALT+P` for all platforms), this also calls the publish shortcut when using windows or linux. - change the publish shortcut to `${ctrlOrCmd}+shift+p`
This commit is contained in:
parent
4679302303
commit
30ba178861
1 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,8 @@ import styleBody from 'ghost-admin/mixins/style-body';
|
|||
import {run} from '@ember/runloop';
|
||||
|
||||
let generalShortcuts = {};
|
||||
generalShortcuts[`${ctrlOrCmd}+alt+p`] = 'publish';
|
||||
|
||||
generalShortcuts[`${ctrlOrCmd}+shift+p`] = 'publish';
|
||||
|
||||
export default Mixin.create(styleBody, ShortcutsRoute, {
|
||||
classNames: ['editor'],
|
||||
|
|
Loading…
Add table
Reference in a new issue