Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
add(text) {
spellchecker.add(text);
},
};
ipcRenderer.on('add-selection-to-dictionary', function () {
SpellChecker.add(document.getSelection().toString());
});
add: function (text) {
spellchecker.add(text);
}
};
ipcRenderer.on('add-selection-to-dictionary', function () {
SpellChecker.add(document.getSelection().toString());
});
add: (text) => {
spellchecker.add(text);
},
};