enterprise-ng
enterprise-ng copied to clipboard
RichText: if the richtext has an initial field value with a non breaking space, the dirty indicator triggers.
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:
- Overwrite the files in the src/app/editor folder with this zip editor.zip
- try to type a letter to the editor to make it dirty
- delete the typed letter.
- 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
has workaround but is a regression from https://github.com/infor-design/enterprise/issues/6032
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.
Hm weird, it's missing in the main-enterprise demo site. @tmcconechy
@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...
This issue is now resolved in https://main-enterprise.demo.design.infor.com/components/editor/test-dirty-tracking.html. Thanks!