Skip to content
This repository has been archived by the owner on Jan 30, 2022. It is now read-only.

Cross browser support #2

Merged
merged 2 commits into from
Feb 20, 2020
Merged

Cross browser support #2

merged 2 commits into from
Feb 20, 2020

Conversation

jadefish
Copy link
Owner

@jadefish jadefish commented Feb 20, 2020

Fixes #1.


Copying a text component's value depends on this Presenters PR: rx/presenters#254

@jadefish jadefish force-pushed the cross-browser-support branch 2 times, most recently from 7746c1a to 5e77844 Compare February 20, 2020 20:52
Copy link

@kgrafius kgrafius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks good. A lot of work to simply get x-browser clipboard support but so it goes. I like the introduction of Typescript and Jest.

@jadefish jadefish force-pushed the cross-browser-support branch from 5e77844 to ad78e5e Compare February 20, 2020 21:55
In browsers which do not support the native asynchronous Clipboard API,
the plugin now falls back to an interaction strategy which utilizes
`document.execCommand`.

Browsers supporting the Clipboard API continue to function as expected,
sans permissions checking. This may change in the future.

* Rewrite in TypeScript
* Transpile JS with Babel
* Bundle with Webpack
* Add unit tests
* Remove paste functionality

[#1]
@jadefish jadefish force-pushed the cross-browser-support branch from ad78e5e to 8b2e722 Compare February 20, 2020 22:28
@jadefish jadefish merged commit 95fc622 into master Feb 20, 2020
@jadefish jadefish deleted the cross-browser-support branch February 20, 2020 22:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cross-browser support
2 participants