mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-10 14:42:33 +01:00
⚡ breadcrumb
This commit is contained in:
parent
f608da26a5
commit
1f2faecf4d
3 changed files with 40 additions and 7 deletions
|
|
@ -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")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue