This commit is contained in:
Vanessa 2022-10-19 18:41:38 +08:00
parent 4cd1bd68e5
commit ddc1b09166

View file

@ -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;