mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
external links are also parsed and label is created for them, closes #851
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user