mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-03 03:10:16 +01:00
This commit is contained in:
parent
19dd0cd796
commit
c3cf8bca47
6 changed files with 23 additions and 21 deletions
|
|
@ -66,7 +66,6 @@ export const scrollEvent = (protyle: IProtyle, element: HTMLElement) => {
|
|||
fetchPost("/api/filetree/getDoc", {
|
||||
id: protyle.wysiwyg.element.firstElementChild.getAttribute("data-node-id"),
|
||||
mode: 1,
|
||||
k: protyle.options.key || "",
|
||||
size: window.siyuan.config.editor.dynamicLoadBlocks,
|
||||
}, getResponse => {
|
||||
protyle.contentElement.style.overflow = "";
|
||||
|
|
@ -81,7 +80,6 @@ export const scrollEvent = (protyle: IProtyle, element: HTMLElement) => {
|
|||
fetchPost("/api/filetree/getDoc", {
|
||||
id: protyle.wysiwyg.element.lastElementChild.getAttribute("data-node-id"),
|
||||
mode: 2,
|
||||
k: protyle.options.key || "",
|
||||
size: window.siyuan.config.editor.dynamicLoadBlocks,
|
||||
}, getResponse => {
|
||||
onGet(getResponse, protyle, [Constants.CB_GET_APPEND, Constants.CB_GET_UNCHANGEID]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue