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/5332

Vanessad48cc8611b69
diff --git a/app/appearance/themes/daylight/theme.css b/app/appearance/themes/daylight/theme.css
index 65977c8bf4..063772071e 100644
--- a/app/appearance/themes/daylight/theme.css
+++ b/app/appearance/themes/daylight/theme.css
@@ -148,7 +148,8 @@
/* PDF */
.textLayer,
.pdf__resize {
- mix-blend-mode: darken;
+ /* dark 蓝色、紫色背景显示不清楚,文档位于 https://github.com/siyuan-note/siyuan/issues/5351 */
+ mix-blend-mode: multiply;
}
.b3-typography div.hljs, .protyle-wysiwyg div.hljs {
diff --git a/app/src/util/history.ts b/app/src/util/history.ts
index 57638a92cf..1dbef852ca 100644
--- a/app/src/util/history.ts
+++ b/app/src/util/history.ts
@@ -443,16 +443,19 @@ export const openHistory = () => {
}
});
});
+ break;
} else if (type === "uploadSnapshot") {
fetchPost("/api/repo/uploadCloudSnapshot", {
tag: target.parentElement.getAttribute("data-tag"),
id: target.parentElement.getAttribute("data-id")
});
+ break;
} else if (type === "downloadSnapshot") {
fetchPost("/api/repo/downloadCloudSnapshot", {
tag: target.parentElement.getAttribute("data-tag"),
id: target.parentElement.getAttribute("data-id")
});
+ break;
} else if (type === "genTag") {
const genTagDialog = new Dialog({
title: window.siyuan.languages.tagSnapshot,