mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 04:51:31 +08:00 
			
		
		
		
	copy child: attrs also when defined on a template/parent note
This commit is contained in:
		
							parent
							
								
									f1ed114167
								
							
						
					
					
						commit
						f5f48ef6c4
					
				| @ -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, | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 zadam
						zadam