Resolution: Fixed in LPS
Affects Version/s: master
Fix Version/s: None
When CKEditor initially calls "resetDirty()" on an empty inline editor field, the field returns "<p><br><p>". This is intended, however, once the contentDom event has been fired, and placeholder text is used, the field will return a blank string.
This can be demonstrated with the following steps to reproduce
1) Select Menu > Liferay DXP > Content > Web Content.
2) Add a basic web content article with just a title.
3) Select the article to enter the edit window.
4) Hit Preview under the three dots.
Expected Result: No unsaved changes popup appears because there are no changes.
Actual Results: A popup alerting the user of unsaved changes appears. This is because when the checkDirty() method is called, the initial field value of <p><br><p> does not equal the blank string value the field returns after the contentDom event is fired.