mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	fix copying template's content, closes #943
This commit is contained in:
		| @@ -122,10 +122,10 @@ async function createNewNote(params) { | |||||||
|         isExpanded: !!params.isExpanded |         isExpanded: !!params.isExpanded | ||||||
|     }).save(); |     }).save(); | ||||||
|  |  | ||||||
|     await copyChildAttributes(parentNote, note); |  | ||||||
|  |  | ||||||
|     await scanForLinks(note); |     await scanForLinks(note); | ||||||
|  |  | ||||||
|  |     await copyChildAttributes(parentNote, note); | ||||||
|  |  | ||||||
|     await triggerNoteTitleChanged(note); |     await triggerNoteTitleChanged(note); | ||||||
|     await triggerChildNoteCreated(note, parentNote); |     await triggerChildNoteCreated(note, parentNote); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user