Page MenuHomeSoftware Heritage

[swh-web] Enable whole code/pre text content selection using Ctrl+A
ClosedPublic

Authored by anlambert on Mar 14 2019, 8:44 PM.

Details

Summary

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:

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

Diff Detail

Repository
rDWAPPS Web applications
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.Mar 26 2019, 4:57 PM

Update: Rebase and also add whole code block selection using double click

This revision was automatically updated to reflect the committed changes.