Writing Flow: Fix merging blocks after nested blocks refactoring#4911
Writing Flow: Fix merging blocks after nested blocks refactoring#4911youknowriad merged 3 commits intomasterfrom
Conversation
|
This sounds like a fix that needs unit tests. |
|
@atimmer It definitely needs unit tests, but It's not ready yet :) -- I just discovered that But the issue is that calling the |
Heh, I had this on my mind in a totally unrelated circumstance, and agree it'd make for a wise change. Currently we only assign this in |
|
Updated |
|
These changes look good to me and it's working good right now. |
After the nested blocks refactoring, merging blocks is producing a JS error because of undefined
innerBlocksin several places. I was not certain if this property is optional or not cc @aduthThe fix here just adds a default value to the property when needed.
Testing instructions