mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 15:08:24 +00:00
Set an empty array to disable spell-checker
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
@@ -393,7 +393,7 @@ ipcMain.on('ipcCall', async function(ev, payload) {
|
||||
console.log("There were problems setting the spellcheck languages", er);
|
||||
}
|
||||
} else {
|
||||
mainWindow.webContents.session.spellcheck = false;
|
||||
mainWindow.webContents.session.setSpellCheckerLanguages([]);
|
||||
}
|
||||
break;
|
||||
case 'getSpellCheckLanguages':
|
||||
|
||||
Reference in New Issue
Block a user