mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
This commit is contained in:
parent
d33ab92c7f
commit
d81d517997
1 changed files with 1 additions and 1 deletions
|
|
@ -464,7 +464,7 @@ const focusElementById = (protyle: IProtyle, action: string[], scrollAttr?: IScr
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (!focusElement && protyle.block.id === protyle.block.rootID) {
|
if (!focusElement && protyle.block.id === protyle.block.rootID && protyle.title?.editElement) {
|
||||||
focusElement = protyle.title.editElement;
|
focusElement = protyle.title.editElement;
|
||||||
}
|
}
|
||||||
if (protyle.block.mode === 4) {
|
if (protyle.block.mode === 4) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue