electron - explicitly disable spellchecker
It will be enabled by default starting with Electron 9
This commit is contained in:
parent
dc333833e9
commit
a006879172
5 changed files with 6 additions and 0 deletions
|
@ -64,6 +64,7 @@ export class ProxyAuthHandler extends Disposable {
|
||||||
sandbox: true,
|
sandbox: true,
|
||||||
devTools: false,
|
devTools: false,
|
||||||
enableRemoteModule: false,
|
enableRemoteModule: false,
|
||||||
|
spellcheck: false,
|
||||||
v8CacheOptions: 'bypassHeatCheck'
|
v8CacheOptions: 'bypassHeatCheck'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -46,6 +46,7 @@ export class SharedProcess implements ISharedProcess {
|
||||||
nodeIntegration: true,
|
nodeIntegration: true,
|
||||||
enableWebSQL: false,
|
enableWebSQL: false,
|
||||||
enableRemoteModule: false,
|
enableRemoteModule: false,
|
||||||
|
spellcheck: false,
|
||||||
nativeWindowOpen: true,
|
nativeWindowOpen: true,
|
||||||
images: false,
|
images: false,
|
||||||
webgl: false,
|
webgl: false,
|
||||||
|
|
|
@ -170,6 +170,7 @@ export class CodeWindow extends Disposable implements ICodeWindow {
|
||||||
nodeIntegration: true,
|
nodeIntegration: true,
|
||||||
enableWebSQL: false,
|
enableWebSQL: false,
|
||||||
enableRemoteModule: false,
|
enableRemoteModule: false,
|
||||||
|
spellcheck: false,
|
||||||
nativeWindowOpen: true,
|
nativeWindowOpen: true,
|
||||||
webviewTag: true,
|
webviewTag: true,
|
||||||
zoomFactor: zoomLevelToZoomFactor(windowConfig?.zoomLevel)
|
zoomFactor: zoomLevelToZoomFactor(windowConfig?.zoomLevel)
|
||||||
|
|
|
@ -199,6 +199,7 @@ export class IssueMainService implements ICommonIssueService {
|
||||||
nodeIntegration: true,
|
nodeIntegration: true,
|
||||||
enableWebSQL: false,
|
enableWebSQL: false,
|
||||||
enableRemoteModule: false,
|
enableRemoteModule: false,
|
||||||
|
spellcheck: false,
|
||||||
nativeWindowOpen: true,
|
nativeWindowOpen: true,
|
||||||
zoomFactor: zoomLevelToZoomFactor(data.zoomLevel)
|
zoomFactor: zoomLevelToZoomFactor(data.zoomLevel)
|
||||||
}
|
}
|
||||||
|
@ -252,6 +253,7 @@ export class IssueMainService implements ICommonIssueService {
|
||||||
preload: URI.parse(require.toUrl('vs/base/parts/sandbox/electron-browser/preload.js')).fsPath,
|
preload: URI.parse(require.toUrl('vs/base/parts/sandbox/electron-browser/preload.js')).fsPath,
|
||||||
enableWebSQL: false,
|
enableWebSQL: false,
|
||||||
enableRemoteModule: false,
|
enableRemoteModule: false,
|
||||||
|
spellcheck: false,
|
||||||
nativeWindowOpen: true,
|
nativeWindowOpen: true,
|
||||||
zoomFactor: zoomLevelToZoomFactor(data.zoomLevel),
|
zoomFactor: zoomLevelToZoomFactor(data.zoomLevel),
|
||||||
...this.environmentService.sandbox ?
|
...this.environmentService.sandbox ?
|
||||||
|
|
|
@ -116,6 +116,7 @@ app.on('ready', () => {
|
||||||
nodeIntegration: true,
|
nodeIntegration: true,
|
||||||
enableWebSQL: false,
|
enableWebSQL: false,
|
||||||
enableRemoteModule: false,
|
enableRemoteModule: false,
|
||||||
|
spellcheck: false,
|
||||||
nativeWindowOpen: true,
|
nativeWindowOpen: true,
|
||||||
webviewTag: true
|
webviewTag: true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue