Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spellchecking for the message input #44

Closed
zarino opened this issue Aug 3, 2015 · 0 comments
Closed

Spellchecking for the message input #44

zarino opened this issue Aug 3, 2015 · 0 comments

Comments

@zarino
Copy link
Owner

zarino commented Aug 3, 2015

Enable spell-checking for outgoing messages: https://github.com/atom/electron/blob/master/docs/api/web-frame.md

Will require an external spellchecking library like http://atom.github.io/node-spellchecker

var webframe = require('web-frame');
var spellchecker = require('spellchecker');

webframe.setSpellCheckProvider("en-US", true, {
  spellCheck: function(text) {
    return ! spellchecker.isMisspelled(text);
  }
});
zarino added a commit that referenced this issue Aug 3, 2015
@zarino zarino mentioned this issue Aug 3, 2015
@zarino zarino closed this as completed in #45 Aug 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant