Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bulleted list item loses bold when new line is inserted #2857

Closed
MattEpsteinMSFT opened this issue Nov 4, 2024 · 0 comments
Closed

Bulleted list item loses bold when new line is inserted #2857

MattEpsteinMSFT opened this issue Nov 4, 2024 · 0 comments

Comments

@MattEpsteinMSFT
Copy link

Describe the bug
Bold formatting in a bulleted list item is lost when adding a before the list item to move it down.

To Reproduce
Steps to reproduce the behavior:
Open the RoosterJS demo site.
Create a bulleted list of two list items.
Make both list items bold.
Put the cursor at the start of the first list item and hit to add a new empty bullet at the start of the list.

Expected behavior
EXPECTED: The first list item moves down to the second position and keeps its formatting.
ACTUAL: The list item moves down but loses its bold formatting.

Screenshots
If applicable, add screenshots to help explain your problem.
Image

Device Information

  • OS: Win11
  • Browser: Edge Anaheim 130.0.0.0
  • Ring: MSIT
  • client-web version: 20241025003.29

Additional context
Found in Monarch

JiuqingSong added a commit that referenced this issue Nov 4, 2024
@JiuqingSong JiuqingSong mentioned this issue Nov 4, 2024
BryanValverdeU added a commit that referenced this issue Nov 15, 2024
* fix test

* test

* Merge text node and segments (#2846)

* Merge text segments

* Fix test

* merge node

* fix build and test

* add test

* Add test

* fix test

* Remove tablePreProcessor (#2849)

* Add change data and apiName to ContentChangedEvent when handle keyboard input (#2854)

* Fix #2857 (#2858)

* Revert Shortcut command for Clear Format on mac (#2834)

* revert Shortcut command for Clear Format on mac

* fix ctrl and meta can press in the same time

* update comment

* Allow browser's default paste behavior when pasting from Office Android (#2863)

* Implement shouldPreventDefaultPaste function

* fix build

* fix build

* list-bugs

* fix image floating

* Customize the behavior of merging format values (#2865)

* define types

* add callbacks

* use param instead

* fix test

---------

Co-authored-by: Jiuqing Song <[email protected]>

* updateVersion.json

* Fix merge segment issue (#2871)

---------

Co-authored-by: Julia Roldi (from Dev Box) <[email protected]>
Co-authored-by: Julia Roldi <[email protected]>
Co-authored-by: Jiuqing Song <[email protected]>
Co-authored-by: 庄黛淳华 <[email protected]>
Co-authored-by: Rain-Zheng <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant