mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-21 03:21:21 +08:00
This commit is contained in:
parent
f6cf6b1d2b
commit
6b34eb325f
@ -119,7 +119,7 @@ export const onGet = (data: IWebSocketData, protyle: IProtyle, action: string[]
|
||||
unScroll: (scrollObj && scrollObj.focusId) ? true : false,
|
||||
}, protyle);
|
||||
|
||||
if (scrollObj && protyle.options.mode === "wysiwyg") {
|
||||
if (scrollObj && protyle.options.mode !== "preview") {
|
||||
restoreScroll(protyle, scrollObj);
|
||||
}
|
||||
const loadingElement = protyle.element.querySelector(".fn__loading");
|
||||
|
Loading…
Reference in New Issue
Block a user