-
in above code i have created a custom component where if we try to drag fifth component it will remove it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
No need to remove the component, just use |
Beta Was this translation helpful? Give feedback.
No need to remove the component, just use
droppable
as a function and check the number of current children components.https://grapesjs.com/docs/api/component.html#properties