mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 10:00:13 +01:00
This commit is contained in:
parent
bc6843417a
commit
22923d3eac
5 changed files with 28 additions and 0 deletions
|
|
@ -37,6 +37,7 @@ import {setLocalShorthandCount} from "./util/noRelyPCFunction";
|
|||
/// #endif
|
||||
import {getDockByType} from "./layout/tabUtil";
|
||||
import {Tag} from "./layout/dock/Tag";
|
||||
import {updateControlAlt} from "./protyle/util/hotKey";
|
||||
|
||||
export class App {
|
||||
public plugins: import("./plugin").Plugin[] = [];
|
||||
|
|
@ -101,6 +102,7 @@ export class App {
|
|||
break;
|
||||
case "setConf":
|
||||
window.siyuan.config = data.data;
|
||||
updateControlAlt();
|
||||
break;
|
||||
case "progress":
|
||||
progressLoading(data);
|
||||
|
|
@ -182,6 +184,7 @@ export class App {
|
|||
addScriptSync(`${Constants.PROTYLE_CDN}/js/lute/lute.min.js?v=${Constants.SIYUAN_VERSION}`, "protyleLuteScript");
|
||||
addScript(`${Constants.PROTYLE_CDN}/js/protyle-html.js?v=${Constants.SIYUAN_VERSION}`, "protyleWcHtmlScript");
|
||||
window.siyuan.config = response.data.conf;
|
||||
updateControlAlt();
|
||||
window.siyuan.isPublish = response.data.isPublish;
|
||||
await loadPlugins(this);
|
||||
getLocalStorage(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue