refs #1280 Enable spellchecker

This commit is contained in:
AkiraFukushima 2020-06-09 22:47:21 +09:00
parent 0f15169c53
commit 7e008f7c3f
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 = {