[swh-web] Enable whole code/pre text content selection using Ctrl+A
To ease copy/paste of source code or web api response for instance, add the possibility to select the whole content of a code/pre element using the following procedure:
-
click inside the code/pre element to make it the focus
-
hit Ctrl+A to select all its textual content
Migrated from D1245 (view on Phabricator)