Replaced not working shortcut on win, alt+ctrl+t with alt+ctrl+v.

This commit is contained in:
Martin Edenhofer 2016-02-26 00:39:28 +01:00
parent 3f0685a450
commit a4197a68f0
2 changed files with 4 additions and 3 deletions

View file

@ -334,7 +334,7 @@ App.Config.set(
description: 'Format as ||italic||' description: 'Format as ||italic||'
} }
{ {
key: 't' key: 'v'
hotkeys: true hotkeys: true
description: 'Format as //strikethrough//' description: 'Format as //strikethrough//'
} }

View file

@ -110,6 +110,7 @@
// altKey + ctrlKey + u -> Toggles the current selection between underlined and not underlined // altKey + ctrlKey + u -> Toggles the current selection between underlined and not underlined
// altKey + ctrlKey + b -> Toggles the current selection between bold and non-bold // altKey + ctrlKey + b -> Toggles the current selection between bold and non-bold
// altKey + ctrlKey + i -> Toggles the current selection between italic and non-italic // altKey + ctrlKey + i -> Toggles the current selection between italic and non-italic
// altKey + ctrlKey + v -> Toggles the current selection between strike and non-strike
// altKey + ctrlKey + f -> Removes the formatting tags from the current selection // altKey + ctrlKey + f -> Removes the formatting tags from the current selection
// altKey + ctrlKey + z -> Inserts a Horizontal Rule // altKey + ctrlKey + z -> Inserts a Horizontal Rule
// altKey + ctrlKey + l -> Toggles the text selection between an unordered list and a normal block // altKey + ctrlKey + l -> Toggles the text selection between an unordered list and a normal block
@ -124,7 +125,7 @@
|| e.keyCode == 90 || e.keyCode == 90
|| e.keyCode == 76 || e.keyCode == 76
|| e.keyCode == 75 || e.keyCode == 75
|| e.keyCode == 79 || e.keyCode == 86
|| e.keyCode == 87)) { || e.keyCode == 87)) {
e.preventDefault() e.preventDefault()
@ -154,7 +155,7 @@
if (e.keyCode == 75) { if (e.keyCode == 75) {
document.execCommand('InsertOrderedList') document.execCommand('InsertOrderedList')
} }
if (e.keyCode == 79) { if (e.keyCode == 86) {
document.execCommand('StrikeThrough') document.execCommand('StrikeThrough')
} }
if (e.keyCode == 87) { if (e.keyCode == 87) {