Open wesleybl opened 1 week ago
Name | Link |
---|---|
Latest commit | f11be4afbcf62325025e96e6d82297a984431c1c |
Latest deploy log | https://app.netlify.com/sites/volto/deploys/66282048c7673500080bd0ce |
Name | Link |
---|---|
Latest commit | f11be4afbcf62325025e96e6d82297a984431c1c |
Latest deploy log | https://app.netlify.com/sites/plone-components/deploys/66282048d4a25f00089ff20e |
This fixes
initialValue
block setting in two situations:In this situation, only the
onChangeBlock
method was called, which does not call the_applyBlockInitialValue
method. Then we call the_applyBlockInitialValue
method before callingonChangeBlock
.In this situation, the
insertBlock
method is called. But it passed the id of the previous block to the_applyBlockInitialValue
method, instead of the id of the new created block.fixes #5971