Skip to content

Build your personal knowledge base with Trilium Notes

fix copying template's content, closes #943

zadam8d7687f35432
diff --git a/src/services/notes.js b/src/services/notes.js
index c312296ec0..bdfe5ef340 100644
--- a/src/services/notes.js
+++ b/src/services/notes.js
@@ -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);