mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-10 09:14:20 +01:00
This commit is contained in:
parent
65dc60a9fe
commit
0daed2d12a
12 changed files with 81 additions and 116 deletions
|
|
@ -40,7 +40,7 @@ const setEditor = (modelMainElement: Element) => {
|
|||
window.siyuan.config.editor.historyRetentionDays = parseInt((modelMainElement.querySelector("#historyRetentionDays") as HTMLInputElement).value);
|
||||
fetchPost("/api/setting/setEditor", window.siyuan.config.editor, response => {
|
||||
window.siyuan.config.editor = response.data;
|
||||
reloadProtyle(window.siyuan.mobile.editor.protyle);
|
||||
reloadProtyle(window.siyuan.mobile.editor.protyle, false);
|
||||
setInlineStyle();
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue