external links are also parsed and label is created for them, closes #851

This commit is contained in:
zadam
2020-02-09 10:45:07 +01:00
parent 9eab3026bb
commit 88bd65c679
4 changed files with 43 additions and 7 deletions

View File

@@ -152,6 +152,11 @@ async function importTar(taskContext, fileBuffer, importRootNote) {
continue;
}
if (attr.type === 'label' && attr.name === 'externalLink') {
// also created automatically
continue;
}
if (attr.type === 'relation') {
attr.value = getNewNoteId(attr.value);
}