Insert attachment at cursor position
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 354
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 43
Description
Deck 1.0.5
Attachments are always inserted at the end of the text field.
However, at least for me, it would make sense to insert the attachment at the current cursor position.
For example, if you already have written a lot of text and now want to add an image at the current position, it is natural to go to that position in the text and click on the insert attachment button.
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
No file or test is named. Start by locating the text-field editor and the attachment insertion entry point, then trace how the current cursor position is exposed when the button is clicked. Done means an attachment is inserted at the cursor, including between existing text, rather than always at the end.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100