When clicking on unfocused line that contain markdown link the cursor position is in the middle of link instead of at the end of line
Open
Nobody has claimed this yet.
:type/enhancement
editor
format:markdown
- Dominant language
- Clojure
- Stars
- 45k
- Forks
- 2.8k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 105
Description
Describe the bug
When clicking on unfocused line that contain markdown link the cursor position is in the middle of link instead of at the end of line
To Reproduce
- Creatae a line with markdown link
- [Link](Address)
- Click somewhere else
- Click again on the line with link
- Position of the cursor is in the middle of the link, inside [ ] brackets (cursor is represented by | )
- [Link|](Address)
Expected behavior
- Position of the cursor is at the end of line
- [Link](Address)|
Desktop (please complete the following information):
- OS: [e.g. iOS] MacOSBig Sur
- Browser [e.g. chrome, safari]
- Version [e.g. 22] 0.3.7
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
The issue names no source file or test. Reproduce the markdown-link cursor behavior in the editor, then trace the click-position handling for an unfocused line; done means the cursor lands after the closing parenthesis as described.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure, markdown
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100