mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
fix ENEX import note saving
This commit is contained in:
parent
a346ba7038
commit
8ec476ba96
@ -310,7 +310,13 @@ function importEnex(taskContext, file, parentNote) {
|
|||||||
updateDates(noteEntity.noteId, utcDateCreated, utcDateModified);
|
updateDates(noteEntity.noteId, utcDateCreated, utcDateModified);
|
||||||
}
|
}
|
||||||
|
|
||||||
saxStream.on("closetag", tag => path.pop());
|
saxStream.on("closetag", tag => {
|
||||||
|
path.pop();
|
||||||
|
|
||||||
|
if (tag === 'note') {
|
||||||
|
saveNote();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
saxStream.on("opencdata", () => {
|
saxStream.on("opencdata", () => {
|
||||||
//console.log("opencdata");
|
//console.log("opencdata");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user