How to use the spellchecker.add function in spellchecker

To help you get started, we’ve selected a few spellchecker examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github PaulRBerg / CoinMarketCap-Desktop / src / scripts / renderer / preload / events.js View on Github external
ipcRenderer.on('add-selection-to-dictionary', function () {
  SpellChecker.add(document.getSelection().toString());
});
github aluxian / Messenger-for-Desktop / src / scripts / renderer / preload / events.js View on Github external
ipcRenderer.on('add-selection-to-dictionary', function () {
  SpellChecker.add(document.getSelection().toString());
});
github pacocoursey / Opus / src / renderer / spellcheck.js View on Github external
add: (text) => {
    spellchecker.add(text);
  },
};