You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Splitting this from #74 (comment:15)
Reproducible with Firefox on any platform.
This sounds like Capturing a Paste Event in Firefox: The paste event has been supported in major browsers for some time now, but interestingly Firefox doesn’t trigger the event unless the user’s cursor is currently focussed in an editable region.
Unfortunately, the Firefox bug is meant to have been fixed already and sprinkling contenteditable=true in every div doesn't make any difference. Neither does listening for clipboard events on all contenteditable elements as suggested here: [https://stackoverflow.com/a/19269040/428751].
More answers here: JavaScript get clipboard data on paste event (Cross browser)
The text was updated successfully, but these errors were encountered:
r17537 fixes this by not using jquery for keyboard events, which somehow fixes the clipboard with Firefox (yes, it did take me a while to figure that out)
Maybe we should try to not use jquery quite so much: #172.
Splitting this from #74 (comment:15)
Reproducible with Firefox on any platform.
This sounds like Capturing a Paste Event in Firefox: The paste event has been supported in major browsers for some time now, but interestingly Firefox doesn’t trigger the event unless the user’s cursor is currently focussed in an editable region.
Unfortunately, the Firefox bug is meant to have been fixed already and sprinkling
contenteditable=true
in every div doesn't make any difference. Neither does listening for clipboard events on allcontenteditable
elements as suggested here: [https://stackoverflow.com/a/19269040/428751].More answers here: JavaScript get clipboard data on paste event (Cross browser)
The text was updated successfully, but these errors were encountered: