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