mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
note converted to module
This commit is contained in:
@@ -54,10 +54,10 @@ const contextMenuSetup = {
|
||||
const parentKey = getParentKey(node);
|
||||
const encryption = getParentEncryption(node);
|
||||
|
||||
createNote(node, parentKey, 'after', encryption);
|
||||
noteEditor.createNote(node, parentKey, 'after', encryption);
|
||||
}
|
||||
else if (ui.cmd === "insertChildNote") {
|
||||
createNote(node, node.key, 'into');
|
||||
noteEditor.createNote(node, node.key, 'into');
|
||||
}
|
||||
else if (ui.cmd === "encryptSubTree") {
|
||||
encryptSubTree(node.key);
|
||||
|
||||
Reference in New Issue
Block a user