mirror of
https://github.com/zadam/trilium.git
synced 2025-06-05 17:38:47 +02:00
copy child: attrs also when defined on a template/parent note
This commit is contained in:
parent
f1ed114167
commit
f5f48ef6c4
@ -61,7 +61,7 @@ function deriveMime(type, mime) {
|
||||
}
|
||||
|
||||
function copyChildAttributes(parentNote, childNote) {
|
||||
for (const attr of parentNote.getOwnedAttributes()) {
|
||||
for (const attr of parentNote.getAttributes()) {
|
||||
if (attr.name.startsWith("child:")) {
|
||||
new Attribute({
|
||||
noteId: childNote.noteId,
|
||||
|
Loading…
x
Reference in New Issue
Block a user