Spellcheck does not work in 0.64.0 and 0.64.1

51 views
Skip to first unread message

Berry Klomp

unread,
May 27, 2022, 7:02:25 AM5/27/22
to nw.js
Hello All,

After updating from 0.63.x to 0.64.x the spelling checker does no longer work.
Did somebody notice this too?

Okido

Ayushman Chhabra

unread,
Oct 16, 2022, 9:14:56 PM10/16/22
to nw.js
Could you open an issue on GitHub if this is still an issue?

Okido

unread,
Oct 17, 2022, 2:35:58 PM10/17/22
to nw.js
Hi All,

The problem is caused by "chromium-args" in package.json.
Per NW.js version:
  NW.js version < 0.64.0, "chromium-args": "--enable-multilingual-spellchecker --enable-features=WinUseBrowserSpellChecker"
  NW.js version >= 0.64.0, "chromium-args": "--enable-spell-checking"

To switch on and set the languages use following code in your JavaScript:
  chrome.settingsPrivate.setPref('browser.enable_spellchecking', true) // false to disable
  chrome.settingsPrivate.setPref('spellcheck.dictionaries', ["en-US", "de-DE"], "null", ()=>{}) // set the languages

Dictionaries are automatically downloaded.


Have a nice day, Okido

Reply all
Reply to author
Forward
0 new messages