mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 16:58:49 +01:00
This commit is contained in:
parent
b71907d109
commit
9885e6eb9b
1 changed files with 1 additions and 1 deletions
|
|
@ -554,7 +554,7 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEven
|
|||
return;
|
||||
} else {
|
||||
// https://github.com/siyuan-note/siyuan/issues/8475
|
||||
const linkDest = protyle.lute.GetLinkDest(textPlain);
|
||||
const linkDest = textPlain.startsWith("assets/") ? textPlain : protyle.lute.GetLinkDest(textPlain);
|
||||
if (linkDest) {
|
||||
protyle.toolbar.setInlineMark(protyle, "a", "range", {
|
||||
type: "a",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue