mirror of
https://github.com/logseq/logseq.git
synced 2026-05-25 21:24:21 +00:00
fix: disable delete shortcut while editing
This commit is contained in:
committed by
Tienson Qin
parent
921418d87d
commit
da66d0f20f
@@ -177,8 +177,10 @@ export class TLApp<
|
||||
{
|
||||
keys: ['del', 'backspace'],
|
||||
fn: () => {
|
||||
this.api.deleteShapes()
|
||||
this.selectedTool.transition('idle')
|
||||
if (!this.editingShape) {
|
||||
this.api.deleteShapes()
|
||||
this.selectedTool.transition('idle')
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user