diff --git a/src/main/browsers/detach.ts b/src/main/browsers/detach.ts index 3a9ac55..773e818 100644 --- a/src/main/browsers/detach.ts +++ b/src/main/browsers/detach.ts @@ -17,6 +17,7 @@ export default () => { const createWindow = async (pluginInfo, viewInfo, view) => { win = new BrowserWindow({ height: viewInfo.height, + minHeight: 60, width: viewInfo.width, autoHideMenuBar: true, titleBarStyle: 'hidden', @@ -36,6 +37,7 @@ export default () => { webviewTag: true, devTools: true, nodeIntegration: true, + spellcheck: false, }, }); if (process.env.WEBPACK_DEV_SERVER_URL) { diff --git a/src/main/browsers/guide.ts b/src/main/browsers/guide.ts index 1d37f85..679680d 100644 --- a/src/main/browsers/guide.ts +++ b/src/main/browsers/guide.ts @@ -41,6 +41,7 @@ export default () => { y, width: 800, height: 600, + minHeight: 60, webPreferences: { webSecurity: false, backgroundThrottling: false, @@ -48,6 +49,7 @@ export default () => { webviewTag: true, devTools: true, nodeIntegration: true, + spellcheck: false, }, }); if (process.env.WEBPACK_DEV_SERVER_URL) { diff --git a/src/main/browsers/main.ts b/src/main/browsers/main.ts index 1b5f5f5..b1ccf0c 100644 --- a/src/main/browsers/main.ts +++ b/src/main/browsers/main.ts @@ -18,6 +18,7 @@ export default () => { const createWindow = async () => { win = new BrowserWindow({ height: 60, + minHeight: 60, useContentSize: true, resizable: true, width: 800, @@ -33,6 +34,7 @@ export default () => { webviewTag: true, nodeIntegration: true, preload: path.join(__static, 'preload.js'), + spellcheck: false, }, }); if (process.env.WEBPACK_DEV_SERVER_URL) { diff --git a/src/main/browsers/runner.ts b/src/main/browsers/runner.ts index c6fee6a..c2cb8bf 100644 --- a/src/main/browsers/runner.ts +++ b/src/main/browsers/runner.ts @@ -128,6 +128,7 @@ export default () => { standard: 'system-ui', serif: 'system-ui', }, + spellcheck: false, }, }); window.setBrowserView(view);