🐛 Bug Report
Prerequisites
Description
Open https://docusaurus.io/docs/markdown-features/code-blocks in Firefox, select piece of code from code block, press Ctrl+C to copy it, paste it anywhere (e.g. in text editor), and notice how newlines are lost.
On Chrome this problem doesn't exist and newlines are correctly preserved/captured.
If "copy" button (in the top-right corner) is used, newlines are preserved though, even on Firefox. But "copy" button requires copying the whole block of code, you can't copy just part of it.
I tried doing the same thing at https://mdxjs.com/, and there copying works ok, newlines are preserved on Firefox.
Yes
Your environment
ArchLinux 5.14.7-arch1-1, Firefox 93.0 (64-bit).
🐛 Bug Report
Prerequisites
npm run clearoryarn clearcommand.rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages.Description
Open https://docusaurus.io/docs/markdown-features/code-blocks in Firefox, select piece of code from code block, press Ctrl+C to copy it, paste it anywhere (e.g. in text editor), and notice how newlines are lost.
On Chrome this problem doesn't exist and newlines are correctly preserved/captured.
If "copy" button (in the top-right corner) is used, newlines are preserved though, even on Firefox. But "copy" button requires copying the whole block of code, you can't copy just part of it.
I tried doing the same thing at https://mdxjs.com/, and there copying works ok, newlines are preserved on Firefox.
Have you read the Contributing Guidelines on issues?
Yes
Your environment
ArchLinux 5.14.7-arch1-1, Firefox 93.0 (64-bit).