Commit e9dfbc4b authored by robert-danowski's avatar robert-danowski Committed by Nicolas Giard

correct inputting polish letters

parent db22e544
...@@ -197,13 +197,15 @@ export default { ...@@ -197,13 +197,15 @@ export default {
], ],
shortcuts: { shortcuts: {
'toggleBlockquote': null, 'toggleBlockquote': null,
'toggleFullScreen': null 'toggleFullScreen': null,
'toggleOrderedList': null,
'toggleCodeBlock': null
} }
}) })
// Save // Save
$(window).bind('keydown', (ev) => { $(window).bind('keydown', (ev) => {
if (ev.ctrlKey || ev.metaKey) { if ((ev.ctrlKey || ev.metaKey) && !(ev.altKey)) {
switch (String.fromCharCode(ev.which).toLowerCase()) { switch (String.fromCharCode(ev.which).toLowerCase()) {
case 's': case 's':
ev.preventDefault() ev.preventDefault()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment