Mailspring/internal_packages/composer-spellcheck/lib/main.coffee
Ben Gotow 786440531f feat(spellcheck): Custom spellcheck powered by our DraftStore extensions API
Summary: New draft store extension that highlights misspelled words.

Test Plan: No test coverage yet

Reviewers: evan, dillon

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D1972
2015-09-02 13:20:01 -07:00

12 lines
275 B
CoffeeScript

{ComponentRegistry, DraftStore} = require 'nylas-exports'
Extension = require './draft-extension'
module.exports =
activate: (@state={}) ->
DraftStore.registerExtension(Extension)
deactivate: ->
DraftStore.unregisterExtension(Extension)
serialize: -> @state