OFFLINE-GmbH/oc-boxes-support

Version 3: parent boxes acts as if it were the child in the editor.

Closed this issue · 5 comments

roojai commented

Describe the bug
Love the changes with V3. However a bug here:

After saving parent boxes with children in the editor, the parent boxes acts as if it were the child in the editor. That means, if you click on the parent box, it now displays the child's type in the purple bar at the top, and the editor on the right displays the content for the child.
The parent box is still accessible if you click the parent box in the structure layout on the left, just not in the central content display.

Images provided to illustrate:

**Before Version 3: **

CHILD box is "Content Column"

image

Click outside child to access PARENT box which is then editable
image

After Version 3
image

image

@roojai, thank you for this report! Do you mind sharing the code you use to render the children of the section box?

Nevermind, I was able to reproduce the issue. I'm working on a fix.

@roojai Can you check if the bug is solved for you in v3.0.10?

roojai commented

Thanks @tobias-kuendig - yes the update fixed it!

Great, thank you for the report!