This commit is contained in:
Vanessa 2022-08-24 09:47:52 +08:00
parent 5ef314e148
commit b8af2e0581

View file

@ -119,7 +119,7 @@ export const onGet = (data: IWebSocketData, protyle: IProtyle, action: string[]
unScroll: (scrollObj && scrollObj.focusId) ? true : false,
}, protyle);
if (scrollObj) {
if (scrollObj && protyle.options.mode === "wysiwyg") {
restoreScroll(protyle, scrollObj);
}
const loadingElement = protyle.element.querySelector(".fn__loading");