commit 3c0a3e09b8a32c2dcfe000f097c2f9b303797eb0
parent cf6790fd80874ec005055fa18e9f3259bf82dba0
Author: markseu <mark2011@mayberg.se>
Date: Tue, 17 Apr 2018 12:49:38 +0200
Updated editor, keyboard shortcuts for Steffen
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/system/config/config.ini b/system/config/config.ini
@@ -55,7 +55,7 @@ MultiLanguageMode: 0
InstallationMode: 1
StartupUpdate: none
EditLocation: /edit/
-EditKeyboardShortcuts: ctrl+b bold, ctrl+i italic, ctrl+e code, ctrl+k link, ctrl+s save
+EditKeyboardShortcuts: ctrl+b bold, ctrl+i italic, ctrl+e code, ctrl+k link, ctrl+s save, ctrl+shift+p preview
EditToolbarButtons: auto
EditEndOfLine: auto
EditUserFile: user.ini
diff --git a/system/plugins/edit.php b/system/plugins/edit.php
@@ -19,7 +19,7 @@ class YellowEdit
$this->users = new YellowUsers($yellow);
$this->merge = new YellowMerge($yellow);
$this->yellow->config->setDefault("editLocation", "/edit/");
- $this->yellow->config->setDefault("editKeyboardShortcuts", "ctrl+b bold, ctrl+i italic, ctrl+e code, ctrl+k link, ctrl+s save");
+ $this->yellow->config->setDefault("editKeyboardShortcuts", "ctrl+b bold, ctrl+i italic, ctrl+e code, ctrl+k link, ctrl+s save, ctrl+shift+p preview");
$this->yellow->config->setDefault("editToolbarButtons", "auto");
$this->yellow->config->setDefault("editEndOfLine", "auto");
$this->yellow->config->setDefault("editUserFile", "user.ini");