Vanessa 2022-08-07 18:01:23 +08:00
parent fff0504935
commit f749a89abc
2 changed files with 12 additions and 6 deletions

View file

@ -360,6 +360,10 @@ ${window.siyuan.languages.createdAt} ${dayjs(response.data.ial.id.substr(0, 14))
range.selectNodeContents(this.editElement);
focusByRange(range);
}
const loadingElement = protyle.element.querySelector(".fn__loading");
if (loadingElement) {
loadingElement.remove();
}
if (scrollAttr) {
restoreScroll(protyle, scrollAttr === Constants.CB_GET_SCROLL ? undefined : scrollAttr);
}