Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
copy child: attrs also when defined on a template/parent note
zadamf5f48ef6c4b5
diff --git a/src/services/notes.js b/src/services/notes.jsindex 87ddaff66c..745a875423 100644--- a/src/services/notes.js+++ b/src/services/notes.js@@ -61,7 +61,7 @@ function deriveMime(type, mime) {}function copyChildAttributes(parentNote, childNote) {- for (const attr of parentNote.getOwnedAttributes()) {+ for (const attr of parentNote.getAttributes()) {if (attr.name.startsWith("child:")) {new Attribute({noteId: childNote.noteId,