mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 18:05:55 +01:00
encryption converted to module
This commit is contained in:
@@ -60,10 +60,10 @@ const contextMenuSetup = {
|
||||
noteEditor.createNote(node, node.key, 'into');
|
||||
}
|
||||
else if (ui.cmd === "encryptSubTree") {
|
||||
encryptSubTree(node.key);
|
||||
encryption.encryptSubTree(node.key);
|
||||
}
|
||||
else if (ui.cmd === "decryptSubTree") {
|
||||
decryptSubTree(node.key);
|
||||
encryption.decryptSubTree(node.key);
|
||||
}
|
||||
else if (ui.cmd === "cut") {
|
||||
cut(node);
|
||||
|
||||
Reference in New Issue
Block a user