From ddc1b09166c2d3855288ca3edc229b80147fe323 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 19 Oct 2022 18:41:38 +0800 Subject: [PATCH] :bug: fix https://github.com/siyuan-note/siyuan/issues/6259 --- app/src/protyle/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/index.ts b/app/src/protyle/index.ts index a609cf470..3e5639399 100644 --- a/app/src/protyle/index.ts +++ b/app/src/protyle/index.ts @@ -133,7 +133,7 @@ export class Protyle { // update ref this.protyle.wysiwyg.element.querySelectorAll(`[data-type~="block-ref"][data-id="${data.data.id}"]`).forEach(item => { if (item.getAttribute("data-subtype") === "d") { - item.textContent = data.data.title; + item.textContent = data.data.refText; } }); break;