HansSchouten / Laravel-Pagebuilder

A drag and drop pagebuilder to manage pages in any Laravel project
https://www.phpagebuilder.com
MIT License
800 stars 184 forks source link

Nested blocks in the page builder #88

Open susantp opened 3 years ago

susantp commented 3 years ago

nested blocks in the page builder functionality not working.

HansSchouten commented 3 years ago

Hmm strange, for all my customers it is working. Can you be more specific? Maybe give an example.

susantp commented 3 years ago

My intention is to wrap content header block and content body block inside content-wrapper block

intention

susantp commented 3 years ago

for implementation i have a view file for content wrapper block like this, what am i doing wrong?

div class="content-wrapper" style="min-height: 453px;"> div class="col-md-6" phpb-blocks-container>

div class="col-md-6" phpb-blocks-container>
/div>

amenk commented 3 years ago

It's unclear which exact code you have. Please format the files as code. Maybe the closing </div> is missing

susantp commented 3 years ago

sorry for the previous incomplete code. I was trying to achieve nested block like this

<div class="content-wrapper" style="min-height: 453px;">
<div class="col-md-6" phpb-blocks-container></div>
<div class="col-md-6" phpb-blocks-container></div>
</div>
amenk commented 3 years ago

Shouldn't the inner divs be closed?

susantp commented 3 years ago

it's closed, still overlapping