Bold Text issue
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 201
- Avg merge
- 12m
- Merged PRs (30d)
- 1
Description
Hey everyone,
When write some thing and the bold it by clicking on Bold option from toolbar, they will bold the text which is correct behavior but when i select the text again and again click on bold option from toolbar instead of removing bold they add more **.
for example:
i enter as text MARKDOWN
and then click on Bold button now the editor show output like this :
MARKDOWN
Now i want to remove bold property i click again on bold option then instead of removing they show me this output:
MARKDOWN
which is i think so not a correct behavior.
Because its a common behavior in all editors when we click on bold , they bold the text but if we click again on bold option by selecting same text they remove the bold.
https://www.loom.com/share/61953a4b2c6a438191235d896df61b8b
i also attached video link
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
Reproduce the issue in the editor by selecting already-bold text and clicking the Bold toolbar control twice. Trace the toolbar action and its Markdown selection handling; done means toggling Bold removes the existing ** markers instead of adding another pair, while the initial bold action still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100