Mailspring/examples/N1-Composer-Translate
Ben Gotow b00e5439e5 feat(paste): Paste accepts more HTML, paste and match style now available
Summary:
Related to #320, #494, #515, #553

Ignore newlines and returns in HTML, they can be inside tags

Allow all attributes so that paste from excel looks nice

Never let someone paste a `contenteditable` attribute

Update specs

Test Plan: Run new specs

Reviewers: juan, evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D2309
2015-12-07 15:34:03 -08:00
..
docs refactor(env): new NylasEnv global 2015-11-17 16:41:20 -08:00
lib feat(paste): Paste accepts more HTML, paste and match style now available 2015-12-07 15:34:03 -08:00
spec update(examples): Add github sidebar and translate examples 2015-09-21 11:36:54 -07:00
stylesheets update(examples): Add github sidebar and translate examples 2015-09-21 11:36:54 -07:00
.gitignore update(examples): Add github sidebar and translate examples 2015-09-21 11:36:54 -07:00
examples-screencap-translate.png add example images 2015-11-30 18:35:44 -08:00
icon.png fix(sync): Request all labels / folders to avoid paging and missing inbox 2015-10-03 23:53:59 -07:00
package.json fix(license): GPLv3 => GPL-3.0 2015-12-07 10:50:47 -08:00
README.md fix(examples): small fixes in READMEs 2015-12-01 15:59:00 -08:00

Translate

A package for N1 that translates draft text into other languages using the Yandex Translation API.

Install this plugin

  1. Download and run N1

  2. From the menu, select Developer > Install a Plugin Manually... The dialog will default to this examples directory. Just choose the N1-Composer-Translate folder to install it!

    When you install packages, they're moved to ~/.nylas/packages, and N1 runs apm install on the command line to fetch dependencies listed in the package's package.json

Build documentation

cjsx-transform lib/main.cjsx > docs/main.coffee
docco docs/main.coffee
rm docs/main.coffee