From 30ba17886187c157398aebea8b7011321fae6f44 Mon Sep 17 00:00:00 2001 From: Steven Cochrane Date: Tue, 2 Jan 2018 06:04:08 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20unexpected=20publishing?= =?UTF-8?q?=20of=20post=20via=20split-preview=20shortcut=20(Publish=20shor?= =?UTF-8?q?tcut=20is=20now=20`Ctrl/Cmd+Shift+P`)=20(#924)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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` --- ghost/admin/app/mixins/editor-base-route.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ghost/admin/app/mixins/editor-base-route.js b/ghost/admin/app/mixins/editor-base-route.js index 3be3a2730c..65c795789f 100644 --- a/ghost/admin/app/mixins/editor-base-route.js +++ b/ghost/admin/app/mixins/editor-base-route.js @@ -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'],