microsoft / roosterjs

roosterjs is a framework-independent javascript rich text editor.
Other
1.18k stars 158 forks source link

Failed to apply format on list item by format painter #2850

Open Rain-Zheng opened 1 week ago

Rain-Zheng commented 1 week ago

To Reproduce Steps to reproduce the behavior:

  1. Open roosterjs demo site
  2. Insert a numbered list
  3. Insert a normal paragraph, then apply some styles on it, like bold or italic
  4. Use format painter to copy the format of the paragraph
  5. Select all text of any item in the list to apply the copied format
  6. The item's style doesn't change.

Expected behavior The copied style should be applied to the item.

JiuqingSong commented 5 days ago

Thanks, I can repro.