enterprise icon indicating copy to clipboard operation
enterprise copied to clipboard

Rich Text Editor - Font background color control doesn't work properly

Open mlick27 opened this issue 2 years ago • 2 comments

In the Editor component example with a title of "Example with backcolor", if I try to highlight text and then change the backcolor, the color is not saved correctly in the HTML. I always end up with white: . Seems like this is a problem with the control rather than the example.

/latest/demo/components/editor/example-with-backcolor?theme=uplift&variant=light

mlick27 avatar Jul 22 '22 16:07 mlick27

  • Go to https://main-enterprise.demo.design.infor.com/components/editor/example-with-backcolor.html
  • select some text and hit backcolor and pick a color
  • deselect text and notice its not set (its setting it to rgb(256, 256, 256))

tmcconechy avatar Jul 22 '22 17:07 tmcconechy

Lets also test this in the Web Component Versions

tmcconechy avatar Aug 03 '22 17:08 tmcconechy

QA tested and passed.

Before fix: https://4550-enterprise.demo.design.infor.com/components/editor/example-with-backcolor.html

https://user-images.githubusercontent.com/102151352/187915694-678bdc05-aa5f-4980-8aae-84be0511b67d.mov

After fix: https://main-enterprise.demo.design.infor.com/components/editor/example-with-backcolor.html

https://user-images.githubusercontent.com/102151352/187915717-8f2c41d4-8656-43d1-aed0-75bd593a5886.mov

glenlieorillo avatar Sep 01 '22 12:09 glenlieorillo