Merge pull request #1523 from h3poteto/iss-1280

closes #1280 Enable spellchecker
This commit is contained in:
AkiraFukushima 2020-06-09 22:53:21 +09:00 committed by GitHub
commit 155c54d1dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

2
package-lock.json generated
View File

@ -8389,7 +8389,7 @@
"dependencies": {
"resolve": {
"version": "1.1.7",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz",
"resolved": "http://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz",
"integrity": "sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=",
"dev": true
}

View File

@ -281,7 +281,8 @@ async function createWindow() {
// But it is not secure, so if you want to disable this option, please use preload script.
nodeIntegration: true,
contextIsolation: false,
preload: path.resolve(__dirname, './preload.js')
preload: path.resolve(__dirname, './preload.js'),
spellcheck: true
}
}
const config: Config = {