Page MenuHomePhabricator

WikiEditor on mobile and tablets and touch screen needs support for copying
Open, MediumPublic

Description

Steps to reproduce

Actual results

  • It won't allow you to copy if the page is protected. Or the user or ip doesn't have permission to edit the page.

Expected results

  • You should be able to copy at all times.

You can copy if the page is not protected or user has rights.

But on a touch screen copying won't work if the page is protected.

Event Timeline

Paladox raised the priority of this task from to Needs Triage.
Paladox updated the task description. (Show Details)
Paladox added a project: WikiEditor.
Paladox moved this task to Backlog on the WikiEditor board.
Paladox subscribed.

The only way to make this work is with JS manipulation. I guess we can do something with touch start and remove the readonly attribute temporarily. But really, this seems like something that should be fixed at the OS level.

phuedx triaged this task as Medium priority.Mar 14 2019, 5:55 PM
phuedx subscribed.

Would replacing the textarea with a div if the page is protected work? This would be cleaner than manipulating the DOM in JS IMO.