Hello,
I created my own block library.
But I can’t get the right configuration combination for component CSS selector (for drag & drop).
The problem is that in your logic: the selector places it on the same div that will be dragged and dropped, and this is not a very practical situation: because the div itself is dragged and dropped.
Imagine if you have multi-div content, or want to customize the block container with a border distinction, …
It would make more sense to drag and drop the contents of the div.
Solution: add a checkbox in the “edit page library” configuration, to indicate that you have to drag the content and not the div itself
As you can see in this example: it makes no sense to create a special div for the drag-and-drop, and it makes no sense to embed the container div
Thank you
I wish you a good day