Vanessa 2025-12-13 00:18:01 +08:00
parent 168e492c81
commit 87a0168222
4 changed files with 68 additions and 11 deletions

View file

@ -114,6 +114,10 @@ const winOnMaxRestore = async () => {
export const initWindow = async (app: App) => {
/// #if !BROWSER
ipcRenderer.send(Constants.SIYUAN_CMD, {
cmd: "setSpellCheckerLanguages",
languages: window.siyuan.config.editor.spellcheckLanguages
});
const winOnClose = (close = false) => {
exportLayout({
cb() {