[wp-trac] [WordPress Trac] #37600: iOS: Readonly attachment URL is not selectable

WordPress Trac noreply at wordpress.org
Thu Sep 29 22:30:34 UTC 2016


#37600: iOS: Readonly attachment URL is not selectable
-------------------------------------+---------------------------------
 Reporter:  zodiac1978               |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Future Release
Component:  Media                    |     Version:  3.5
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch ui-feedback  |     Focuses:  ui, administration
-------------------------------------+---------------------------------

Comment (by zodiac1978):

 I don't know if 3kb for https://clipboardjs.com/ are too much for this
 little feature. Maybe we could just add it on iOS devices. This handy
 little script could be used to add a "copy to clipboard" button. The MIT
 license is GPL compatible.

 Unfortunately the `execCommand` which is used by the tool is not supported
 by iOS, so the text is just selected and has to be copied manually. :(

 So maybe we should stick with plain text and maybe some button for pre-
 selecting the text.
 ClipboardJS is using this tool from the same author:
 https://github.com/zenorocha/select

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


More information about the wp-trac mailing list