unkeyed / unkey

Open source API management platform
https://go.unkey.com
Other
2.9k stars 286 forks source link

Selecting code in our codeblocks is annoying cause the line numbers are copied as well #1799

Closed chronark closed 3 months ago

chronark commented 3 months ago

Preliminary Checks

Reproduction / Replay Link (Optional)

No response

Issue Summary

Line numbers are selectable CleanShot 2024-06-25 at 11 36 39@2x

Steps to Reproduce

  1. https://www.unkey.com/blog/ratelimit-trpc-routes
  2. Copy some lines in a code block manually

Expected behavior

Line numbers should not be copied

Other information

No response

Screenshots

No response

Version info

- OS:
- Node:
- npm:
linear[bot] commented 3 months ago

ENG-1188 Selecting code in our codeblocks is annoying cause the line numbers are copied as well