mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	copy child: attrs also when defined on a template/parent note
This commit is contained in:
		| @@ -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, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user