From 289bbefbb9751e473e6c272cad6015bc14661341 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 29 May 2024 22:38:31 +0800 Subject: [PATCH] :art: fix https://github.com/siyuan-note/siyuan/issues/11578 --- app/src/protyle/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/protyle/index.ts b/app/src/protyle/index.ts index 3c5dc5718..8932678b7 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) {