Mailspring/src
Evan Morikawa d18642fb3e refactor(contenteditable): new ContenteditableExtension API
Summary:
This provides a new API for `ContenteditableExtension`s. Instead of
manually manipulating the raw DOM and `Selection` objects, there's a new
`Editor` interface that encapsulates it and provides helper methods.

You can now do:

      editor.select(someNode).createLink("foo").collapseToEnd()

Now raw methods like `execCommand` ONLY show up in the `Editor` interface
as well as most of the raw `Selection` APIs.

There are also more integration tests :)

Another major goal was cleaning up the contenteditable file itself. To
that end:

1. The DOMNormalizer got pulled out into its own extension
1. The TabManager is now its own extension
1. Url wrangling got moved into the FloatingToolbar control
1. There is now the concept of a `ContenteditableService`, which are
tightly-couple blocks of code separated out into logical units. These are
dependent on the core state, innerState, and props and are not full
extensions.
1. `MouseService` now handles all the click event logic
1. `ClipboardService` was modified to the new service architecture

Test Plan: script/grunt run-integration-tests

Reviewers: drew, juan, bengotow

Reviewed By: juan, bengotow

Differential Revision: https://phab.nylas.com/D2367
2015-12-21 19:58:01 -08:00
..
browser fix(feedback-window): Close correctly when in fullscreen mode 2015-12-20 13:11:58 -08:00
compile-support fix(hot-api): remove react-hot-api 2015-12-11 11:22:22 -05:00
components refactor(contenteditable): new ContenteditableExtension API 2015-12-21 19:58:01 -08:00
extensions refactor(contenteditable): new ContenteditableExtension API 2015-12-21 19:58:01 -08:00
flux refactor(contenteditable): new ContenteditableExtension API 2015-12-21 19:58:01 -08:00
global feat(transactions): Explicit (and faster) database transactions 2015-12-17 11:46:05 -08:00
react-remote
services feat(paste): Paste accepts more HTML, paste and match style now available 2015-12-07 15:34:03 -08:00
apm-wrapper.coffee
buffered-process.coffee
canvas-utils.coffee
chaos-monkey.coffee
chrome-user-agent-stylesheet-string.coffee
clipboard.coffee
color.coffee
command-installer.coffee
command-registry.coffee
compile-cache.js
component-registry.coffee
config-schema.coffee update(tray): Show 'Open Inbox' tray menu option and option to disable 2015-12-20 21:32:59 -08:00
config-utils.js
config.coffee
database-object-registry.coffee
deprecate-utils.coffee fix(warnings): Remove deprecate warnings from specs 2015-12-13 23:32:24 -08:00
dom-utils.coffee refactor(contenteditable): new ContenteditableExtension API 2015-12-21 19:58:01 -08:00
error-logger.js
extension-registry.es6 refactor(extensions): Move extensions outside of flux/ folder 2015-12-13 23:33:42 -08:00
keymap-manager.coffee
keymap-utils.coffee
launch-services.coffee
less-compile-cache.coffee feat(spec): add config dir to integration specs 2015-12-10 10:52:20 -05:00
mail-view-filter.coffee
menu-helpers.coffee
menu-manager.coffee
module-cache.coffee
native-notifications.coffee
nylas-env.coffee fix(onboarding): AccountStore only listens to changes to account obj when window 2015-12-11 12:01:25 -08:00
nylas-spellchecker.coffee fix(spellcheck): let win < 8 fallback to hunspell 2015-12-11 16:41:41 -05:00
package-manager.coffee
package.coffee feat(theme-selector): Add theme selector to preferences page 2015-12-15 10:29:58 -08:00
priority-ui-coordinator.coffee
regexp-utils.coffee
scope-descriptor.coffee
scoped-properties.coffee
serializable-registry.coffee
sheet-container.cjsx
sheet-toolbar.cjsx
sheet.cjsx
sound-registry.coffee
space-pen-extensions.coffee
space-pen-utils.js
style-manager.coffee
styles-element.coffee
subscriber-mixin.coffee
task-bootstrap.coffee
task-registry.coffee
task.coffee
theme-manager.coffee feat(theme-selector): Add theme selector to preferences page 2015-12-15 10:29:58 -08:00
theme-package.coffee feat(theme-selector): Add theme selector to preferences page 2015-12-15 10:29:58 -08:00
undo-manager.coffee
window-bootstrap.coffee fix(bluebird): setImmediate > MutationObserver 2015-12-11 11:56:22 -08:00
window-bridge.coffee fix(serialization): Inflate / deflate JSON from database with registered object system 2015-12-08 15:14:43 -08:00
window-event-handler.coffee fix(contextualmenu): Disable for non-selectable inputs 2015-12-11 11:55:31 -08:00
window-secondary-bootstrap.coffee fix(bluebird): setImmediate > MutationObserver 2015-12-11 11:56:22 -08:00
window-thin-bootstrap.coffee fix(*): Fix for "apply is not a function" lost in revert of e275f35 2015-12-10 14:12:16 -08:00
window.coffee