From 9885e6eb9b3b85d1b7e2f1fbff4f122413344831 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 9 Feb 2025 11:14:38 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/13892 --- app/src/protyle/util/paste.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/util/paste.ts b/app/src/protyle/util/paste.ts index 9a8da1392..62b311d98 100644 --- a/app/src/protyle/util/paste.ts +++ b/app/src/protyle/util/paste.ts @@ -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",