Vanessa 2022-07-06 15:57:58 +08:00
parent 500b0b852a
commit d48cc8611b
2 changed files with 5 additions and 1 deletions

View file

@ -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 {

View file

@ -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,