editable.js icon indicating copy to clipboard operation
editable.js copied to clipboard

First `change` event has old element instance

Open NelsonBrandao opened this issue 1 month ago • 0 comments

The first change event triggered has an old version of the element. This results on the change being missed. Further change events appear to be working correctly.

This can be seen on demo provided by this package:

https://github.com/livingdocsIO/editable.js/assets/1036806/96267ce7-fc79-42d0-8ae3-0ed7941b9712

The first time we type 1 the output below doesn't get updated.

NelsonBrandao avatar May 27 '24 11:05 NelsonBrandao