[wp-trac] [WordPress Trac] #32737: Press This Mobile Code for Bookmarklet cannot be fully selected or copied on Mobile devices
WordPress Trac
noreply at wordpress.org
Sat Jun 20 18:49:06 UTC 2015
#32737: Press This Mobile Code for Bookmarklet cannot be fully selected or copied
on Mobile devices
--------------------------------+-----------------------------
Reporter: undergroundnetwork | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.2.2
Severity: normal | Keywords:
Focuses: |
--------------------------------+-----------------------------
When you go to select the code that Press This offers in the Tools Section
next to the Press This drag-able bookmarklet, the text to COPY into a new
bookmark that you create on your mobile phone (or computer) is within a
textarea but on the iPhone you cannot '''select''' the text because it's
"readonly" (readonly="readonly").
You need to remove the readonly="readonly" from the textarea and you can
then select the text on your mobile device to copy it and paste it.
This is on line '''63 of wp-admin/tools.php'''
{{{
<textarea class="js-pressthis-code" rows="5" cols="120"
readonly="readonly" aria-labelledby="pressthis-code-desc"><?php echo
htmlspecialchars( get_shortcut_link() ); ?></textarea>
}}}
It's the only way I know to make textfields fully selectable on the
iPhone. (Might be the same on Android, not sure.)
And so what if the text can be altered when you click in the field, all
text can be altered wen you copy and paste it anyway.
Also, it does say below the text field to copy the "Direct Link (best for
Mobile)" which is not necessary to say, as the Javascript bookmarklet
works fine on mobile. (with the one exception that the popup window will
appear behind your current page if it's already open, similar to how
desktop browser will put popup windows in existing tabs if the page is
already open, like when you are previewing a page on Wordpress that you
are editing.)
Charles
[[Image(http://media.underground.net/images/selecttext.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32737>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list