Toggle formatting for text styling
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 201
- Avg merge
- 12m
- Merged PRs (30d)
- 1
Description
Hi everyone, thank you for the great package!
I am wondering if toggling Bold / Italic / Underline styles is something that will be implemented, it would be great if when I hit the Bold button/keyboard shortcut with a bolded text already selected, the styling would be removed. The current logic is to just add ** ** around the selection.
Do I have to create custom actions for each action that I want to have this functionality?
Thank you!
Contributor guide
No contributing guide indexed for this repository
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 files, tests, or entry points. Start by locating the existing Bold, Italic, and Underline formatting actions in the editor, then inspect how selections are wrapped with Markdown markers. Done means applying a style to an already styled selection removes that style for all three actions, with coverage for button and keyboard-shortcut behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- markdown, react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100