This commit is contained in:
parent
22e954c4e7
commit
8f9df4ac3f
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue