mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-19 21:48:06 +01:00
🚨
This commit is contained in:
parent
40218fa1a0
commit
3925d5d1c4
11 changed files with 22 additions and 24 deletions
|
|
@ -165,7 +165,7 @@ const editKeydown = (app: App, event: KeyboardEvent) => {
|
|||
protyle = item.editor.protyle;
|
||||
return true;
|
||||
}
|
||||
})
|
||||
});
|
||||
}
|
||||
if (!protyle && activeTabElement) {
|
||||
const tab = getInstanceById(activeTabElement.getAttribute("data-id")) as Tab;
|
||||
|
|
@ -187,11 +187,11 @@ const editKeydown = (app: App, event: KeyboardEvent) => {
|
|||
protyle = editorItem.protyle;
|
||||
return true;
|
||||
}
|
||||
})
|
||||
});
|
||||
if (protyle) {
|
||||
return true
|
||||
return true;
|
||||
}
|
||||
})
|
||||
});
|
||||
}
|
||||
if (!protyle) {
|
||||
models.backlink.find(item => {
|
||||
|
|
@ -209,7 +209,7 @@ const editKeydown = (app: App, event: KeyboardEvent) => {
|
|||
}
|
||||
return true;
|
||||
}
|
||||
})
|
||||
});
|
||||
}
|
||||
if (!protyle) {
|
||||
models.editor.find(item => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue