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

v0.1.0: Cross-browser support

Latest
Compare
Choose a tag to compare
@jadefish jadefish released this 20 Feb 22:37
· 7 commits to master since this release
95fc622

Summary

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.

The following browsers are now considered officially supported:

  • Chrome 42+
  • Edge 12+
  • Firefox 41+
  • Safari 10+

Changes

  • Add cross-browser support (#1)
  • Rewrite in TypeScript
  • Add tests
  • (BREAKING) Remove paste functionality

Notes

Though this is a pre-1.0.0 library, this release breaks backwards compatibility: clipboard paste now raises an error, as the paste action was removed.