note converted to module

This commit is contained in:
azivner
2017-11-04 17:54:27 -04:00
parent adc7d15819
commit b44c685f23
11 changed files with 301 additions and 270 deletions

View File

@@ -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);