Mailspring/internal_packages/composer-emoji
Ben Gotow 18d294c42f feat(transforms): Replace regexp body transforms with DOM approach
Summary:
We originally didn't do this because creating a DOM tree was loading images.
Using range.createContextualFragment seems to do it without the tree ever
being attached.

Accompanying changes to src/pro are here:
https://phab.nylas.com/D3300
https://github.com/nylas/edgehill/compare/bengotow/draft-dom-transformations?expand=1

Also rename applyTransformsToDraft => applyTransformsForSending. Needed
a new name because the function signature has changed. AFAIK there are no
open source plugins using the old functions.

Test Plan: All specs updated

Reviewers: evan, juan

Reviewed By: evan, juan

Differential Revision: https://phab.nylas.com/D3299
2016-09-23 16:36:08 -07:00
..
assets sp(composer-emoji): Correct emojis to emoji 2016-03-15 13:37:54 -07:00
lib feat(transforms): Replace regexp body transforms with DOM approach 2016-09-23 16:36:08 -07:00
spec fix(specs): Fix specs on Linux 2016-06-15 16:30:52 -07:00
stylesheets 🎨(scroll): Fix UI issues in theme picker/emoji picker 2016-03-30 15:52:51 -07:00
package.json fix(plugins): Update plugin descriptions 2016-06-07 16:41:04 -07:00