mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 16:40:13 +01:00
This commit is contained in:
parent
75a173a6fd
commit
b51be99f81
5 changed files with 49 additions and 33 deletions
|
|
@ -15,7 +15,7 @@ import {globalShortcut} from "./globalShortcut";
|
|||
import {fetchPost} from "./fetch";
|
||||
import {mountHelp, newDailyNote} from "./mount";
|
||||
import {MenuItem} from "../menus/Menu";
|
||||
import {initAssets, loadAssets, setInlineStyle} from "./assets";
|
||||
import {initAssets, loadAssets, renderSnippet, setInlineStyle} from "./assets";
|
||||
import {goBack, goForward} from "./backForward";
|
||||
import {getOpenNotebookCount} from "./pathName";
|
||||
import {openFileById} from "../editor/util";
|
||||
|
|
@ -146,6 +146,7 @@ export const onGetConfig = (isStart: boolean) => {
|
|||
initWindow();
|
||||
appearance.onSetappearance(window.siyuan.config.appearance, isBrowser());
|
||||
initAssets();
|
||||
renderSnippet();
|
||||
setInlineStyle();
|
||||
let resizeTimeout = 0;
|
||||
window.addEventListener("resize", () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue