enterprise-ng icon indicating copy to clipboard operation
enterprise-ng copied to clipboard

RichText: if the richtext has an initial field value with a non breaking space, the dirty indicator triggers.

Open JBismonte opened this issue 2 years ago • 1 comments

Describe the bug When the rich text editor value originally has a non breaking space set, modifying it and returning it to its original value still marks it as dirty.

To Reproduce Steps to reproduce the behavior:

  1. Overwrite the files in the src/app/editor folder with this zip editor.zip
  2. try to type a letter to the editor to make it dirty
  3. delete the typed letter.
  4. the rich text editor is still dirty.

Expected behavior The rich text editor shouldnt be dirty when returned to its original value.

Version

  • ids-enterprise-ng: 4.65.1

Screenshots See screen recording https://user-images.githubusercontent.com/29673378/186606592-719cd0c0-527b-445a-9201-72692795dbf6.mp4

Platform

  • Device: NA
  • OS Version: Windows 11
  • Browser Name: Firefox
  • Browser Version : 104.0 (64-bit)

Additional context Add any other context about the problem here. https://jira.infor.com/browse/LMWEB-1980

JBismonte avatar Aug 25 '22 07:08 JBismonte

has workaround but is a regression from https://github.com/infor-design/enterprise/issues/6032

tmcconechy avatar Aug 29 '22 18:08 tmcconechy

Hi @tjamesallen15, tested this in https://main-enterprise.demo.design.infor.com/components/editor/test-dirty-tracking.html but I'm having an error 404. image

janahintal avatar Oct 03 '22 12:10 janahintal

Hm weird, it's missing in the main-enterprise demo site. @tmcconechy

ericangeles avatar Oct 03 '22 13:10 ericangeles

@ericangeles usually when this happens it was a failed build on the merge https://github.com/infor-design/enterprise/actions/runs/3174610434 commit. I just merged another issue. So when this runs lets recheck its there...

tmcconechy avatar Oct 03 '22 13:10 tmcconechy

This issue is now resolved in https://main-enterprise.demo.design.infor.com/components/editor/test-dirty-tracking.html. Thanks!

janahintal avatar Oct 10 '22 14:10 janahintal