mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +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