mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-06 12:50:16 +01:00
This commit is contained in:
parent
06cacf1311
commit
194a18fc95
7 changed files with 51 additions and 51 deletions
|
|
@ -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();
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue