Vanessa 2023-07-05 00:51:10 +08:00
parent bd484dae34
commit 2e18312de3
7 changed files with 243 additions and 177 deletions

View file

@ -180,8 +180,7 @@ export class BlockPanel {
hideElements(["gutter"], editor.protyle);
});
if (response.data.rootID !== this.nodeIds[index]) {
editor.protyle.breadcrumb.element.parentElement.insertAdjacentHTML("beforeend", `<span class="fn__space"></span>
<div class="b3-tooltips b3-tooltips__w block__icon block__icon--show fn__flex-center" data-type="context" aria-label="${window.siyuan.languages.context}"><svg><use xlink:href="#iconAlignCenter"></use></svg></div>`);
editor.protyle.breadcrumb.element.parentElement.lastElementChild.classList.remove("fn__none");
}
}
});