mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-02 06:48:49 +01:00
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
Add a link
Reference in a new issue