Skip to content

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

:recycle: https://github.com/siyuan-note/siyuan/pull/15193

Vanessa2e56d39ac3bb
diff --git a/app/src/util/assets.ts b/app/src/util/assets.ts
index 3be73c97e3..7827c7929c 100644
--- a/app/src/util/assets.ts
+++ b/app/src/util/assets.ts
@@ -277,8 +277,7 @@ export const setInlineStyle = async (set = true, servePath = "../../../") => {
}`;
}
style += `\n:root { --b3-font-size-editor: ${window.siyuan.config.editor.fontSize}px }
-.b3-typography code:not(.hljs), .protyle-wysiwyg span[data-type~=code] { font-variant-ligatures: ${window.siyuan.config.editor.codeLigatures ? "normal" : "none"} }
-${window.siyuan.config.editor.justify ? ".protyle-wysiwyg [data-node-id] { text-align: justify }" : ""}`;
+.b3-typography code:not(.hljs), .protyle-wysiwyg span[data-type~=code] { font-variant-ligatures: ${window.siyuan.config.editor.codeLigatures ? "normal" : "none"} }${window.siyuan.config.editor.justify ? "\n.protyle-wysiwyg [data-node-id] { text-align: justify }" : ""}`;
if (window.siyuan.config.editor.rtl) {
style += `\n.protyle-title__input,
.protyle-wysiwyg .p,