mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02: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
|
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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user