setAttributes is slow resulting in retrieving attributes old values #16058
Labels
[Feature] Block API
API that allows to express the block paradigm.
Needs Technical Feedback
Needs testing from a developer perspective.
[Type] Help Request
Help with setup, implementation, or "How do I?" questions.
Describe the bug
When using
setAttributes
in theedit
object it's not updating attributes right away. This result in the old values being returned if you tried to retrieve fromdataset
right after callingsetAttributes
To reproduce
Steps to reproduce the behavior:
Expected behavior
If we used the
dataset
property on the element that we just updated it should return the updated value.Workaround
If you do this it will return the correct value
The text was updated successfully, but these errors were encountered: