[Webkit-unassigned] [Bug 219533] New: OnPaste does not fire for focused table cell

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 4 00:28:30 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=219533

            Bug ID: 219533
           Summary: OnPaste does not fire for focused table cell
           Product: WebKit
           Version: Safari 13
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tables
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jimmy at codemagic.dk

Steps to reproduce the problem:
1. Visit https://jsfiddle.net/uzkv4spr/2/
2. Try pasting something in the div element (works)
3. Try pasting something in the table cell (doesn't work)

What is the expected behavior?
That OnPaste fires so I can access the clipboard data.
Currently I'm detecting CMD/CTRL + V in an OnKeyDown handler, but not all browsers allow access to the clipboard data outside of the OnPaste event (Firefox specifically), and obviously this solution does not work with the browser's context menu and Edit menu.

What went wrong?
OnPaste does not fire for table cell.

Did this work before? No 

Does this work in other browsers?: No
 The problem was reproduced in the following browsers.
 - Firefox 82.0.2 and 83
 - Safari 13.1.1
 - Chrome 87.0.4280.67
 - Chrome Canary 89.0.4344.0

I did not test IE, IEEdge, or ChromiumEdge.

The bug has been reported to the Chromium and Mozilla teams as well:
https://bugs.chromium.org/p/chromium/issues/detail?id=1155461
https://bugzilla.mozilla.org/show_bug.cgi?id=1680693

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201204/bdaee7f1/attachment.htm>


More information about the webkit-unassigned mailing list