feat: block ctrl-s shortcut key

This commit is contained in:
yanglbme 2020-09-03 09:38:05 +08:00
parent a33b917b4a
commit b60a2abc05

View File

@ -91,7 +91,8 @@ const mutations = {
const doc = formatDoc(editor.getValue(0))
localStorage.setItem('__editor_content', doc)
editor.setValue(doc)
}
},
'Ctrl-S': function save(editor) {}
}
}
)
@ -118,7 +119,8 @@ const mutations = {
}, {
line: totalLines
})
}
},
'Ctrl-S': function save(editor) {}
}
}
)