mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
ELECTRON-869 Enable spellchecker for main window (#547)
This commit is contained in:
committed by
Vishwas Shashidhar
parent
6de3c05223
commit
a206b567c2
@@ -180,6 +180,13 @@ electron.ipcMain.on(apiName, (event, arg) => {
|
||||
windowMgr.handleKeyPress(arg.keyCode);
|
||||
}
|
||||
break;
|
||||
case apiCmds.isMisspelled:
|
||||
if (typeof arg.text === 'string') {
|
||||
/* eslint-disable no-param-reassign */
|
||||
event.returnValue = windowMgr.isMisspelled(arg.text);
|
||||
/* eslint-enable no-param-reassign */
|
||||
}
|
||||
break;
|
||||
case apiCmds.openScreenSharingIndicator:
|
||||
if (typeof arg.displayId === 'string' && typeof arg.id === 'number') {
|
||||
openScreenSharingIndicator(event.sender, arg.displayId, arg.id);
|
||||
|
||||
Reference in New Issue
Block a user