Skip to content

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

:art: fix https://github.com/siyuan-note/siyuan/issues/11578

Vanessa289bbefbb975
diff --git a/app/src/protyle/index.ts b/app/src/protyle/index.ts
index 3c5dc5718d..8932678b71 100644
--- a/app/src/protyle/index.ts
+++ b/app/src/protyle/index.ts
@@ -227,6 +227,8 @@ export class Protyle {
if (options.backlinkData) {
this.protyle.block.rootID = options.blockId;
renderBacklink(this.protyle, options.backlinkData);
+ // 为了满足 eventPath0.style.paddingLeft 从而显示块标 https://github.com/siyuan-note/siyuan/issues/11578
+ this.protyle.wysiwyg.element.style.paddingLeft = "16px";
return;
}
if (!options.blockId) {