-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: Master
-
Fix Version/s: 7.4.0 CE GA1, 7.4.13 DXP GA1, Master
-
Component/s: CKEditor
-
Labels:None
-
Fix Priority:3
-
Sprint:S04E13 - Wintergatan
-
Git Pull Request:
When ClassicEditor (react) is initializing some unexpected onChange are triggered.
We try to avoid these changes in comparing the new data with the actual one inspired in
Data Engine RichText.
Unfortunately when the initial data isn't HTML just plain text this fix doesn't work, because the editor wraps the data with HTML and triggers the change.
More context: https://github.com/liferay-lima/liferay-portal/pull/1641#issuecomment-806571034
Actual result:
onChange is called during the initialization period.
Expected result:
Don't call onChange in the initialization period.