breadcrumb

This commit is contained in:
Vanessa 2023-09-30 19:55:01 +08:00
parent f608da26a5
commit 1f2faecf4d
3 changed files with 40 additions and 7 deletions

View file

@ -181,7 +181,6 @@ const editKeydown = (app: App, event: KeyboardEvent) => {
return false;
}
} else if (!protyle) {
const models = getAllModels();
if (!protyle && range) {
window.siyuan.blockPanels.find(item => {
item.editors.find(editorItem => {
@ -195,6 +194,7 @@ const editKeydown = (app: App, event: KeyboardEvent) => {
}
});
}
const models = getAllModels();
if (!protyle) {
models.backlink.find(item => {
if (item.element.classList.contains("layout__tab--active")) {