mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
This commit is contained in:
parent
f6cf6b1d2b
commit
6b34eb325f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue