The "design:updated" event is successfully triggering and logging on the first update of the element. However, for consecutive updates on the same element, the callback associated with the "design:updated" event is not being fired. This issue prevents us from capturing and handling consecutive updates effectively. We need to investigate and resolve this behavior to ensure that the "design:updated" event functions as expected for all updates on the element.
unlayer.addEventListener('design:updated', (design: any) => { this.autoSave(design); console.log('design:updated', design); });
The
"design:updated"
event is successfully triggering and logging on the first update of the element. However, for consecutive updates on the same element, the callback associated with the "design:updated" event is not being fired. This issue prevents us from capturing and handling consecutive updates effectively. We need to investigate and resolve this behavior to ensure that the "design:updated" event functions as expected for all updates on the element.