Vanessa 2024-10-21 23:32:55 +08:00
parent 22e954c4e7
commit 8f9df4ac3f

View file

@ -45,6 +45,10 @@ export class Link extends ToolbarItem {
}
}
}
// https://github.com/siyuan-note/siyuan/issues/12867
if (!dataHref && clipText.startsWith("assets/")) {
dataHref = clipText;
}
} catch (e) {
console.log(e);
}