mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 12:40:08 +08:00
502bb7c0b8
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
11 lines
275 B
CoffeeScript
11 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
|