[wp-trac] [WordPress Trac] #46647: Site Health: Improve the "Copy to Clipboard" button

WordPress Trac noreply at wordpress.org
Sun Jun 7 14:06:06 UTC 2020


#46647: Site Health: Improve the "Copy to Clipboard" button
-----------------------------+-------------------------
 Reporter:  pento            |       Owner:  pento
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:  5.2
Component:  Administration   |     Version:
 Severity:  normal           |  Resolution:  fixed
 Keywords:  has-screenshots  |     Focuses:  javascript
-----------------------------+-------------------------

Comment (by afercia):

 For history: worth noting that also `ClipboardJS` uses a hidden textarea.
 The textarea is injected in the DOM on the first Copy action and then it
 stays there in the DOM, producing this issue again. The textarea can be
 removed on the Copy `success` callback but it requires some work. See
 #50322.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46647#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list