correct inputting polish letters

pull/303/head
robert-danowski 8 years ago committed by Nicolas Giard
parent db22e54408
commit e9dfbc4bc9

@ -197,13 +197,15 @@ export default {
],
shortcuts: {
'toggleBlockquote': null,
'toggleFullScreen': null
'toggleFullScreen': null,
'toggleOrderedList': null,
'toggleCodeBlock': null
}
})
// Save
$(window).bind('keydown', (ev) => {
if (ev.ctrlKey || ev.metaKey) {
if ((ev.ctrlKey || ev.metaKey) && !(ev.altKey)) {
switch (String.fromCharCode(ev.which).toLowerCase()) {
case 's':
ev.preventDefault()

Loading…
Cancel
Save