* fix: allow control c key * fix: prevent all text select when MultipleSelectionMode * fix: prevent text all select when select mode * fix: blocks event only it is not copy shortcut.pull/5827/head
parent
fa57169cd2
commit
401dd22567
|
@ -871,7 +871,9 @@ export default {
|
||||||
this.$emit('update:selection', data);
|
this.$emit('update:selection', data);
|
||||||
}
|
}
|
||||||
|
|
||||||
event.preventDefault();
|
const isCopyShortcut = event.code === 'KeyC' && metaKey;
|
||||||
|
|
||||||
|
if (!isCopyShortcut) event.preventDefault();
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue