remove a console.log
parent
c001dc9c8d
commit
d5e4ed9751
|
@ -5811,7 +5811,6 @@ editor.init = function () {
|
||||||
// register the keydown event
|
// register the keydown event
|
||||||
document.addEventListener('keydown', (e) => {
|
document.addEventListener('keydown', (e) => {
|
||||||
const key = `${(e.metaKey) ? 'meta+' : ''}${(e.ctrlKey) ? 'ctrl+' : ''}${e.key.toLowerCase()}`;
|
const key = `${(e.metaKey) ? 'meta+' : ''}${(e.ctrlKey) ? 'ctrl+' : ''}${e.key.toLowerCase()}`;
|
||||||
console.log(key);
|
|
||||||
if (!keyHandler[key]) return;
|
if (!keyHandler[key]) return;
|
||||||
keyHandler[key].fn();
|
keyHandler[key].fn();
|
||||||
if (keyHandler[key].pd) {
|
if (keyHandler[key].pd) {
|
||||||
|
|
Loading…
Reference in New Issue