[wp-trac] [WordPress Trac] #54426: Add a "Copy URL to clipboard" row action in Media > Library...similar to the botton on the Edit Media screen

WordPress Trac noreply at wordpress.org
Wed Feb 23 16:25:10 UTC 2022


#54426: Add a "Copy URL to clipboard" row action in Media > Library...similar to
the botton on the Edit Media screen
-------------------------------------+-------------------------------------
 Reporter:  pbiron                   |       Owner:  davidbaumwald
     Type:  enhancement              |      Status:  reviewing
 Priority:  normal                   |   Milestone:  6.0
Component:  Media                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-screenshots has-     |     Focuses:  ui, accessibility,
  patch needs-testing                |  javascript
-------------------------------------+-------------------------------------

Comment (by pbiron):

 Replying to [comment:14 afercia]:
 > - I'm not sure the 'shifting' effect of other potential custom row
 actions would be a good experience. Maybe in the context of the row
 actions the 'Copied!' text should be styled differently. With a few lines
 of CSS it could be styled as a sort of 'tooltip' that appears above the
 row action button. See a very quick example in the screenshot attached
 below. Wort reminding the 'Copied!' text is hidden from assistive
 technologies so it's just a visual thing and it disappears after 3
 seconds.

 A tooltip-like effect for the "Copied!" text would be great!

 Unfortunately, I'm really busy with "day job" things for the foreseeable
 future, so would appreciate if another contrib could try their hand at
 doing a revised patch that does that.

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


More information about the wp-trac mailing list