fix: shift pasting in whiteboard

This commit is contained in:
Peng Xiao
2022-08-12 16:31:23 +08:00
parent 7cb38f04a0
commit 3d7f02ac16

View File

@@ -163,6 +163,15 @@ export class TLApp<
this.notify('saveAs', null)
},
},
{
keys: 'mod+shift+v',
fn: (_, __, e) => {
if (!this.editingShape) {
e.preventDefault()
this.paste(undefined, true)
}
},
},
{
keys: ['delete', 'backspace'],
fn: () => {