This commit is contained in:
Vanessa 2023-02-07 13:59:04 +08:00
parent b43f5112bb
commit 1b2be6614d
2 changed files with 3 additions and 3 deletions

View file

@ -281,12 +281,12 @@ export class BlockPanel {
});
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>`)
<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>`);
}
}
});
this.editors.push(editor);
})
});
}
public destroy() {

View file

@ -49,7 +49,7 @@ export const foldPassiveType = (expand: boolean, element: HTMLElement | Document
}
});
}
}
};
const setBacklinkFold = (html: string, expand: boolean) => {
const tempDom = document.createElement("template");