dotCMS / core

Headless/Hybrid Content Management System for Enterprises
http://dotcms.com
Other
865 stars 467 forks source link

Toggle editor is not detecting changes when you clean the field #23187

Open bryanboza opened 2 years ago

bryanboza commented 2 years ago

When you are using the toggle editor in a text / json field, once you have text on it, and you try to delete the text and leave it empty, we are not detecting the changes and then we never delete the content from the field Here is the video: https://user-images.githubusercontent.com/2641437/196297022-b9820457-f226-4963-bd1a-7ae0f8579aa4.mov

To Reproduce

Expected behavior

Make sure we are saving the changes without problems

Desktop (please complete the following information):

Tested on release-22.10 // Docker // FF

hmoreras commented 15 hours ago

This is related to the save by ContentletAjax.saveContent.dwr