This commit is contained in:
parent
32e734d794
commit
542f287d88
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
import {addLoading} from "../ui/initUI";
|
||||
import {addLoading, removeLoading} from "../ui/initUI";
|
||||
import {fetchPost} from "../../util/fetch";
|
||||
import {getDocByScroll, saveScroll} from "../scroll/saveScroll";
|
||||
import {renderBacklink} from "../wysiwyg/renderBacklink";
|
||||
|
@ -8,6 +8,7 @@ import {preventScroll} from "../scroll/preventScroll";
|
|||
export const reloadProtyle = (protyle: IProtyle, focus: boolean, updateReadonly?: boolean) => {
|
||||
if (!protyle.preview.element.classList.contains("fn__none")) {
|
||||
protyle.preview.render(protyle);
|
||||
removeLoading(protyle);
|
||||
return;
|
||||
}
|
||||
if (window.siyuan.config.editor.displayBookmarkIcon) {
|
||||
|
|
Loading…
Add table
Reference in a new issue