learningequality / learningequality/studio
[RTE] Formula nodes do not show selection highlight
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 191
- Forks
- 307
- Avg merge
- 5d 6h
- Merged PRs (30d)
- 10
Description
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Observed behavior
When selecting text in the RTE that includes a formula node, the formula node does not display a selection highlight. The surrounding text shows the expected blue highlight, but the formula node appears visually unselected — even though the formula is actually included in the selection and can be copied.
Expected behavior
Formula nodes should display a selection highlight when included in a text selection, consistent with the visual behavior of the surrounding text.
User-facing consequences
Users may think they cannot copy-paste already inserted formulas, leading to frustration since formulas are difficult to write. This could cause users to unnecessarily re-type complex formulas instead of reusing them.
Steps to reproduce
- Open an exercise node in Studio and edit a question that contains a formula.
- Click and drag to select text that includes the formula node.
- Observe that the surrounding text shows a blue selection highlight, but the formula node does not.
- Note that despite the missing highlight, the formula is included in the selection and can be copied and pasted.
AI usage
Used Claude to help draft this issue from a description and screenshot. Reviewed and confirmed all sections for accuracy.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the selection behavior in the Studio exercise editor's RTE with text that includes a formula node. Compare the formula node's appearance with surrounding selected text and verify that the formula remains included when copied; done means the node visibly highlights consistently with the selection.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100