mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-22 15:04:07 +01:00
This commit is contained in:
parent
78cba22910
commit
e0e803d743
21 changed files with 135 additions and 71 deletions
|
|
@ -78,7 +78,7 @@ export const addLoading = (protyle: IProtyle) => {
|
|||
if (protyle.element.getAttribute("data-loading") !== "finished") {
|
||||
protyle.element.insertAdjacentHTML("beforeend", '<div style="background-color: var(--b3-theme-background)" class="fn__loading wysiwygLoading"><img width="48px" src="/stage/loading-pure.svg"></div>');
|
||||
}
|
||||
}, Constants.TIMEOUT_BLOCKLOAD);
|
||||
}, Constants.TIMEOUT_LOAD);
|
||||
};
|
||||
|
||||
export const removeLoading = (protyle: IProtyle) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue