mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-05 20:30:15 +01:00
This commit is contained in:
parent
347a0473c3
commit
63f2d72673
5 changed files with 17 additions and 8 deletions
|
|
@ -464,6 +464,9 @@ const focusElementById = (protyle: IProtyle, action: string[], scrollAttr?: IScr
|
|||
}
|
||||
});
|
||||
}
|
||||
if (!focusElement && protyle.block.id === protyle.block.rootID) {
|
||||
focusElement = protyle.title.editElement;
|
||||
}
|
||||
if (protyle.block.mode === 4) {
|
||||
preventScroll(protyle);
|
||||
focusElement = protyle.wysiwyg.element.lastElementChild;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue