mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
don't allow deleting hoisted note + other related fixes, closes #488
This commit is contained in:
@@ -109,8 +109,8 @@ const keyBindings = {
|
||||
|
||||
return false;
|
||||
},
|
||||
"backspace": node => {
|
||||
if (!utils.isRootNode(node)) {
|
||||
"backspace": async node => {
|
||||
if (!await hoistedNoteService.isRootNode(node)) {
|
||||
node.getParent().setActive().then(treeService.clearSelectedNodes);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user