From 2aeaecf78c2e97de0a09a2538692e3f84fefa4a4 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 17 May 2025 11:00:26 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=B2=A1=E6=9C=89=E9=80=89=E4=B8=AD?= =?UTF-8?q?=E6=96=87=E6=9C=AC=E7=B2=98=E8=B4=B4=E9=93=BE=E6=8E=A5=E4=B8=8D?= =?UTF-8?q?=E5=BA=94=E9=80=89=E4=B8=AD=E6=95=B4=E4=B8=AA=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 d3fc8c3b9..69872b1fa 100644 --- a/app/src/protyle/util/paste.ts +++ b/app/src/protyle/util/paste.ts @@ -546,7 +546,7 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEven if (linkElement) { protyle.toolbar.setInlineMark(protyle, "a", "range", { type: "a", - color: `${linkElement.getAttribute("href")}${Constants.ZWSP}${range.toString() || linkElement.textContent}` + color: `${linkElement.getAttribute("href")}${Constants.ZWSP}${range.toString()}` }); return; }