mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
more cleanup
This commit is contained in:
@@ -58,9 +58,9 @@ const noteTree = (function() {
|
||||
const keybindings = {
|
||||
"insert": node => {
|
||||
const parentKey = treeUtils.getParentKey(node);
|
||||
const encryption = treeUtils.getParentEncryption(node);
|
||||
const isProtected = treeUtils.getParentProtectedStatus(node);
|
||||
|
||||
noteEditor.createNote(node, parentKey, 'after', encryption);
|
||||
noteEditor.createNote(node, parentKey, 'after', isProtected);
|
||||
},
|
||||
"ctrl+insert": node => {
|
||||
noteEditor.createNote(node, node.key, 'into', node.data.is_protected);
|
||||
|
||||
Reference in New Issue
Block a user