The Wiki is forcing the full selection of all the documented commands with "user-select: all". There are a lot of reason why a user should want to partially select the text but currently that can't be done without some annoying workarounds. Reproducible: Always Steps to Reproduce: 1. Open any wiki article with a command line of text. E.g. https://wiki.gentoo.org/wiki/Zsh 2. Try to select just the command without the path or any section of the text. E.g. Just select the package name of this command: root # emerge --ask app-shells/gentoo-zsh-completions Actual Results: Forces the selection to all the text or none. Expected Results: Allow users to select what they want and don't force it to only do a full or none selection. An alternatives might be to restore the normal selection behavior after the text is full selected; or restore the behavior and simply add a button to copy the command text. Thanks
ping. Related: [21:27:05] <ano> don't think it's great idea to add "user-select: all" css property to every cmd in handbook, now cmd parts cannot be selected/copied
maffblaster: ping, could you take a look?
This has been resolved as of this change: https://wiki.gentoo.org/index.php?title=Template%3AGenericCmd%2FLine&type=revision&diff=1081069&oldid=1046741 My attempt here was to enable a single click selection on the block level command template. It is a compromise for those who wish to avoid javascript (NoScript users) and who want to easily select the whole "command" with a single click. I think a better solution for all will be to use a javascript library (such as clipboard.js) for a one-click copy to clipboard feature.