learningequality / learningequality/studio

Multiline paste: Allow pasting of multiline text into the answers of an exercise

Open
#3,020 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

TAG: new feature TODO: needs decisions
Dominant language
Python
Stars
191
Forks
307
Avg merge
5d 6h
Merged PRs (30d)
10

Description

Desired behavior

When pasting multiline text into the answers of an exercise auto detect the line breaks and create multiple separate answers.

Current behavior

It will just paste all the text into a single answer.

Value add

People copy pasting from another source can work more quickly.

Possible tradeoffs

People actually wanting to do multi-line answers might get annoyed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the exercise answer input and its paste-handling behavior. Reproduce the current behavior with multiline text, then verify that pasted line breaks create separate answers without breaking ordinary single-line or intentional multiline input.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.