Skip to content

Commit cc46e1b

Browse files
committed
fixed issue #4
1 parent f96a2e9 commit cc46e1b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ dist/
55
*.pypirc
66
*.pyc
77
*note
8+
*backup*

draceditor/static/draceditor/js/draceditor.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@
170170
editor.selection.setSelectionRange(originalRange);
171171
}
172172
};
173-
// win/linux: Shift+U
173+
// win/linux: Ctrl+Shift+U
174174
var markdownToUnderscores = function() {
175175
var originalRange = editor.getSelectionRange();
176176
if (editor.selection.isEmpty()) {
@@ -185,7 +185,7 @@
185185
editor.selection.setSelectionRange(originalRange);
186186
}
187187
};
188-
// win/linux: Shift+S
188+
// win/linux: Ctrl+Shift+S
189189
var markdownToStrikethrough = function() {
190190
var originalRange = editor.getSelectionRange();
191191
if (editor.selection.isEmpty()) {
@@ -491,15 +491,15 @@
491491
});
492492
editor.commands.addCommand({
493493
name: 'markdownToUnderscores',
494-
bindKey: {win: 'Shift-U', mac: 'Option-U'},
494+
bindKey: {win: 'Ctrl-Shift-U', mac: 'Command-Option-U'},
495495
exec: function(editor) {
496496
markdownToUnderscores()
497497
},
498498
readOnly: true
499499
});
500500
editor.commands.addCommand({
501501
name: 'markdownToStrikethrough',
502-
bindKey: {win: 'Shift-S', mac: 'Option-S'},
502+
bindKey: {win: 'Ctrl-Shift-S', mac: 'Command-Option-S'},
503503
exec: function(editor) {
504504
markdownToStrikethrough()
505505
},

0 commit comments

Comments
 (0)