mirror of
https://github.com/TriliumNext/Trilium.git
synced 2025-12-11 05:45:26 -06:00
fix(server/notes): images not saved on duplication (fixes #7471)
This commit is contained in:
parent
0e95610d4e
commit
53805e9c49
@ -239,8 +239,6 @@ function createNewNote(params: NoteParams): {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
asyncPostProcessContent(note, params.content);
|
|
||||||
|
|
||||||
if (params.templateNoteId) {
|
if (params.templateNoteId) {
|
||||||
const templateNote = becca.getNote(params.templateNoteId);
|
const templateNote = becca.getNote(params.templateNoteId);
|
||||||
if (!templateNote) {
|
if (!templateNote) {
|
||||||
@ -1037,6 +1035,8 @@ function duplicateSubtreeInner(origNote: BNote, origBranch: BBranch | null | und
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
asyncPostProcessContent(newNote, content);
|
||||||
|
|
||||||
return newNote;
|
return newNote;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user