Replies: 1 comment
-
The |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Having Card Components
I am trying to restrict dropping same component twice so i restricted using
data-gjs-type="Template"
if its there in the canvas added droppable false so for the first time it will be added because in canvas only body will be available while block:drag for the first time. On the second time block dragging the specified component will be there in the canvas so it will not dropped .. here is this the actually issue if i drop inside child component its added in the canvas for example if i drag the component over the h1 tag inside thedata-gjs-type="Template"
the component is droppableBeta Was this translation helpful? Give feedback.
All reactions