This commit is contained in:
Vanessa 2022-08-31 12:57:38 +08:00
parent 06cacf1311
commit 194a18fc95
7 changed files with 51 additions and 51 deletions

View file

@ -2,6 +2,7 @@ import {closePanel} from "../util/closePanel";
import {fetchPost} from "../../util/fetch";
import {setInlineStyle} from "../../util/assets";
import {genOptions} from "../../util/genOptions";
import {reloadProtyle} from "../../protyle/util/reload";
export const initAppearance = (modelElement: HTMLElement, modelMainElement: HTMLElement) => {
closePanel();
@ -69,7 +70,7 @@ export const initAppearance = (modelElement: HTMLElement, modelMainElement: HTML
emoji: window.siyuan.config.editor.emoji
}, (response) => {
window.siyuan.config.editor = response.data;
window.siyuan.mobileEditor.reload();
reloadProtyle(window.siyuan.mobileEditor.protyle);
setInlineStyle();
});
});