Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Cannot paste from clipboard in Firefox #638

Closed
robbertbrak opened this issue Sep 9, 2016 · 1 comment
Closed

Cannot paste from clipboard in Firefox #638

robbertbrak opened this issue Sep 9, 2016 · 1 comment

Comments

@robbertbrak
Copy link
Contributor

Do you want to request a feature or report a bug?

Report a bug.

What is the current behavior?

  • Copy an image to the clipboard (for example by taking a screenshot).
  • Go to http://facebook.github.io/draft-js/ in Firefox.
  • Focus the editor and paste the clipboard contents in the editor.
  • Result: the console shows an error: "TypeError: appendToHead is undefined". The callback function handlePastedFiles is not called.

What is the expected behavior?

I expected there to be no errors and that I would be able to access the clipboard contents in the handlePastedFiles callback function.

Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?

v0.8.1, Firefox 48.

@flarnie
Copy link
Contributor

flarnie commented Sep 14, 2016

Fix just landed, and will be out in the next release. Thanks for reporting this issue!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants