mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-05 16:28:49 +01:00
This commit is contained in:
parent
d1ff28c535
commit
7b6b50d584
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ const setHTML = (options: { content: string, action?: string[] }, protyle: IProt
|
|||
// https://github.com/siyuan-note/siyuan/issues/5018
|
||||
if (!protyle.scroll.element.classList.contains("fn__none") &&
|
||||
protyle.wysiwyg.element.lastElementChild.getAttribute("data-eof") !== "true" &&
|
||||
protyle.wysiwyg.element.clientHeight < protyle.contentElement.clientHeight) {
|
||||
protyle.contentElement.scrollHeight <= protyle.contentElement.clientHeight) {
|
||||
fetchPost("/api/filetree/getDoc", {
|
||||
id: protyle.wysiwyg.element.lastElementChild.getAttribute("data-node-id"),
|
||||
mode: 2,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue