microsoft / microsoft/roosterjs
Bold formatting kept
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 190
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 16
Description
Describe the bug
Hey, I'm one of the Proton Mail devs, we are using Rooster and we spotted an issue.
To Reproduce
Steps to reproduce the behavior:
- Open Rooster
- Write some content, put content in bold, red, 24px text size
- Go to the end of the line previously formated, add a few new lines
- On this last line, remove bold, red, go back to 14px text size
- Paste some unformated content
Expected behavior
I should see the pasted content in 14px with no bold/red.
Screenshots
Content is put in bold.
It seems the b tag is kept even if I did click on the bold button to remove it.
I reproduce similar issues on https://microsoft.github.io/roosterjs/index.html
Thanks for your help in advance :)
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 Rooster demo at https://microsoft.github.io/roosterjs/index.html using the listed formatting and paste steps. Trace the paste and formatting handling, then verify that pasted content on the final line has 14px text with no bold or red formatting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100