mirror of
https://github.com/Microsoft/vscode
synced 2024-10-12 06:17:18 +00:00
electron - explicitly disable spellchecker
It will be enabled by default starting with Electron 9
This commit is contained in:
parent
dc333833e9
commit
a006879172
|
@ -64,6 +64,7 @@ export class ProxyAuthHandler extends Disposable {
|
|||
sandbox: true,
|
||||
devTools: false,
|
||||
enableRemoteModule: false,
|
||||
spellcheck: false,
|
||||
v8CacheOptions: 'bypassHeatCheck'
|
||||
}
|
||||
};
|
||||
|
|
|
@ -46,6 +46,7 @@ export class SharedProcess implements ISharedProcess {
|
|||
nodeIntegration: true,
|
||||
enableWebSQL: false,
|
||||
enableRemoteModule: false,
|
||||
spellcheck: false,
|
||||
nativeWindowOpen: true,
|
||||
images: false,
|
||||
webgl: false,
|
||||
|
|
|
@ -170,6 +170,7 @@ export class CodeWindow extends Disposable implements ICodeWindow {
|
|||
nodeIntegration: true,
|
||||
enableWebSQL: false,
|
||||
enableRemoteModule: false,
|
||||
spellcheck: false,
|
||||
nativeWindowOpen: true,
|
||||
webviewTag: true,
|
||||
zoomFactor: zoomLevelToZoomFactor(windowConfig?.zoomLevel)
|
||||
|
|
|
@ -199,6 +199,7 @@ export class IssueMainService implements ICommonIssueService {
|
|||
nodeIntegration: true,
|
||||
enableWebSQL: false,
|
||||
enableRemoteModule: false,
|
||||
spellcheck: false,
|
||||
nativeWindowOpen: true,
|
||||
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,
|
||||
enableWebSQL: false,
|
||||
enableRemoteModule: false,
|
||||
spellcheck: false,
|
||||
nativeWindowOpen: true,
|
||||
zoomFactor: zoomLevelToZoomFactor(data.zoomLevel),
|
||||
...this.environmentService.sandbox ?
|
||||
|
|
|
@ -116,6 +116,7 @@ app.on('ready', () => {
|
|||
nodeIntegration: true,
|
||||
enableWebSQL: false,
|
||||
enableRemoteModule: false,
|
||||
spellcheck: false,
|
||||
nativeWindowOpen: true,
|
||||
webviewTag: true
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue