Pasting into pre blocks loses indentation
- Dominant language
- JavaScript
- Stars
- 60
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
If I select and copy a block of Python code, then set up a preformatted-text section in a question statement or part prompt, when I paste the Python code into the pre block all indentation is lost. It doesn't matter where I copy it from. This makes it very difficult to include Python code in questions.
I am using Firefox on Linux.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue in Firefox on Linux by pasting copied Python code into a preformatted-text section in a question statement or part prompt. Trace the editor's paste handling for pre blocks; done means indentation is preserved regardless of where the code was copied from.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100