Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/14821

Vanessab72d39e3ec33
diff --git a/app/src/protyle/toolbar/Link.ts b/app/src/protyle/toolbar/Link.ts
index 6ac76d5b22..519ac5f7f3 100644
--- a/app/src/protyle/toolbar/Link.ts
+++ b/app/src/protyle/toolbar/Link.ts
@@ -59,7 +59,7 @@ export class Link extends ToolbarItem {
if (!dataHref && clipObject.textPlain.startsWith("assets/")) {
dataHref = clipObject.textPlain;
}
- // https://github.com/siyuan-note/siyuan/issues/14704 & https://github.com/siyuan-note/siyuan/issues/6798
+ // https://github.com/siyuan-note/siyuan/issues/14704#issuecomment-2867555769 第一点 & https://github.com/siyuan-note/siyuan/issues/6798
if (dataHref && !dataText) {
dataText = decodeURIComponent(dataHref.replace("https://", "").replace("http://", ""));
if (dataHref.length > Constants.SIZE_LINK_TEXT_MAX) {