Firefox: Triple click + Ctrl+c in code block copies two lines instead of one #10495
Open
4 of 7 tasks
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
On Mozilla Firefox when selecting a line in the code block using a triple click, it selects it fine. But if you copy it, it copies both the line you selected and one line above. This is really annoying when copy&pasting specific lines for example in bash scripts or config files. Using triple click in normal text paragraphs works fine.
Reproducible demo
No response
Steps to reproduce
Expected behavior
The copied line is pasted.
Actual behavior
Two lines are pasted: The copied line and one before.
Your environment
Self-service
The text was updated successfully, but these errors were encountered: