Add action to double-clicked word properly. (bold, italic, etc.)
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 61.6k
- Forks
- 4.6k
- Avg merge
- 23h 49m
- Merged PRs (30d)
- 89
Description
Hello, I have switched to Mark Text from Typora lately and I really like it! There is one thing maybe you could improve.
Describe your feature request
When I double-click a word and add for example "bold" it affects the whole selection (a word + white space after the word). I know it does what it is supposed to do, but Typora trims that white space and it is useful.
Additional context

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 double-click selection and applying bold or italic formatting in the editor. Confirm how the selection includes trailing whitespace, then verify that formatting a double-clicked word excludes that whitespace while preserving normal formatting behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, markdown, typescript
- Domain
- desktop-dev, frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100