Force block to bottom and single element
Question
Is there some way to force a block to be dropped only at bottom of wrapper and be droppend only a single time (if user remove, can drop it again)?
Answers (2)
You can use draggable and droppable properties of the Component as CSS selectors to control what can be dropped and where, so you have the same limits of CSS selectors
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #577
Only allow one component of specific type on editor
is there way to not allow to drop any specific component more than one time on page? I have custom component and user cannot drop it more t...
Issue #994
how to make sure block is dropped only at the top level
For example I have two blocks A and B that I want to drop to the editor canvas. But sometimes the block that dropped later become the child...
Issue #1880
[QUESTION] Disable drop only for a specific block
Hello, There is a way to specify the blocks that should NOT be able to be inserted within a specific droppable block?
Issue #766
When clicking elsewhere on canvas, deselect: currently selected
Currently, once a user selects any element, there's no way to deselect that element. For example, if I'm editing a photo, but I want to "st...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.