Skip to content
Zeno Rocha edited this page May 6, 2016 · 9 revisions

Due to security restrictions imposed by browser vendors, user interaction is required in order copy/cut to work. Which means that the first argument in the constructor is required and must refer to a valid element in the page. A simulated click event using JavaScript does not work as this would enable clipboard poisoning.

Originally reported at #127


On IE11 you can't copy a <table> element. A simple workaround is wrapping it with a <div> then all works well.

Originally reported at #93


In Safari on iOS, only <input> and <textarea> elements are selected.

Originally reported at #124

Clone this wiki locally