Restricting Drag-and-Drop of Nodes to Their Respective Sections #4486
Unanswered
adityasajoo
asked this question in
Questions & Help
Replies: 1 comment
-
Did you find answer to that? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an editor with blocks and sections, where "Block" and "Sections" are custom nodes. Each section contains several blocks.
I've implemented drag-and-drop functionality for my editor using the data-drag-handle attribute. I want to ensure that blocks can only be dragged and dropped within their own sections and cannot be moved between sections.
Here's the current setup:
I want to achieve the following behavior:
Any assistance would be greatly appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions