assets: Enable whole code/pre text content selection
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 double click or the following procedure:
- click inside the code/pre element to make it the focus
- hit Ctrl+A to select all its textual content