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;