From ca6f5faf122e5ac0b24ab190a237374d13c1a623 Mon Sep 17 00:00:00 2001 From: Mantas Masalskis Date: Mon, 6 Jan 2020 02:11:29 +0200 Subject: [PATCH] Fixes issue #2837 - ?? and :: Ticket article composing shortcuts added to Keyboard Shortcuts helper. --- .../widget/keyboard_shortcuts.coffee | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/app/assets/javascripts/app/controllers/widget/keyboard_shortcuts.coffee b/app/assets/javascripts/app/controllers/widget/keyboard_shortcuts.coffee index 65601118d..2ce2ec6fc 100644 --- a/app/assets/javascripts/app/controllers/widget/keyboard_shortcuts.coffee +++ b/app/assets/javascripts/app/controllers/widget/keyboard_shortcuts.coffee @@ -391,6 +391,23 @@ App.Config.set( description: 'Navigate through article' } ] + }, + { + where: 'Used when composing a Ticket article' + shortcuts: [ + { + key: '::' + hotkeys: false, + description: 'Inserts Text module' + globalEvent: 'richtext-insert-text-module' + } + { + key: '??' + hotkeys: false, + description: 'Inserts Knowledge Base answer' + globalEvent: 'richtext-insert-kb-answer' + } + ] } ]