HansSchouten / PHPageBuilder

A drag and drop page builder to manage pages in any PHP project
https://www.phpagebuilder.com
MIT License
706 stars 178 forks source link

Creating multiple columns where the user can drag blocks in. #188

Closed Daniel-Fo closed 2 months ago

Daniel-Fo commented 2 months ago

I have the following code:

  <?= $body ?>
  <div class="container mt-4">
    <div class="row">
      <div class="col-4" phpb-blocks-container>

      </div>
      <div class="col-8" phpb-blocks-container>
      </div>
    </div>

This shows me the blocks but doesnt let me drag anything into the columns, i can drag above. How do i enable the dragging of blocks into my blocks-containers ?