mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
server side WIP - saving encrypted note now works, changing terminology of "encrypted note" to "protected note"
This commit is contained in:
@@ -57,9 +57,9 @@ const contextMenu = (function() {
|
||||
|
||||
if (ui.cmd === "insertNoteHere") {
|
||||
const parentKey = treeUtils.getParentKey(node);
|
||||
const encryption = treeUtils.getParentEncryption(node);
|
||||
const isProtected = treeUtils.getParentEncryption(node);
|
||||
|
||||
noteEditor.createNote(node, parentKey, 'after', encryption);
|
||||
noteEditor.createNote(node, parentKey, 'after', isProtected);
|
||||
}
|
||||
else if (ui.cmd === "insertChildNote") {
|
||||
noteEditor.createNote(node, node.key, 'into');
|
||||
|
||||
Reference in New Issue
Block a user