mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 16:58:49 +01:00
This commit is contained in:
parent
359487c09c
commit
e597a68405
1 changed files with 8 additions and 1 deletions
|
|
@ -301,7 +301,14 @@ export const goEnd = (protyle: IProtyle) => {
|
|||
mode: 4,
|
||||
size: window.siyuan.config.editor.dynamicLoadBlocks,
|
||||
}, getResponse => {
|
||||
onGet({data: getResponse, protyle, action: [Constants.CB_GET_FOCUS]});
|
||||
onGet({
|
||||
data: getResponse,
|
||||
protyle,
|
||||
action: [Constants.CB_GET_FOCUS],
|
||||
afterCB() {
|
||||
focusBlock(protyle.wysiwyg.element.lastElementChild, undefined, false);
|
||||
}
|
||||
});
|
||||
});
|
||||
} else {
|
||||
protyle.contentElement.scrollTop = protyle.contentElement.scrollHeight;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue