HomeSoftware Heritage

assets: Enable whole code/pre text content selection

Description

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:

  1. click inside the code/pre element to make it the focus
  2. hit Ctrl+A to select all its textual content

Details

Provenance
anlambertAuthored on Mar 14 2019, 2:54 PM
anlambertPushed on Mar 27 2019, 1:36 PM
Differential Revision
D1245: [swh-web] Enable whole code/pre text content selection using Ctrl+A
Parents
rDWAPPS84a575d8aba3: assets/highlightjs-line-numbers: Upgrade to 2.7.0
Branches
Unknown
Tags
Unknown
Build Status
Buildable 4870
Build 6498: test-and-build