You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On MacOS, at least for my relatively simple electronjs application, any time I try to replace an incorrectly spelled word, the entire application crashes. I'm using the latest version of Electron.js as of this writing.
I made a simple one-line change in the index.js file and that completely fixed the problem, i.e., replace insertText by replaceMisspelling. Also the change of course makes a lot of sense:
On MacOS, at least for my relatively simple electronjs application, any time I try to replace an incorrectly spelled word, the entire application crashes. I'm using the latest version of Electron.js as of this writing.
I made a simple one-line change in the index.js file and that completely fixed the problem, i.e., replace insertText by replaceMisspelling. Also the change of course makes a lot of sense:
Using replaceMisspelling seems reasonable given it is what we're doing and is now part of the documented electron.js API: https://www.electronjs.org/docs/api/web-contents#contentsreplacemisspellingtext
The text was updated successfully, but these errors were encountered: