You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, since the latest version, I noticed that when I use the droppable query selector using [data-gjs-type="my-component-type"] no longer seems to work.
I have added two codesandbox demos to show you the issue.
I am not able to figure out what changed.
Hope it helps, thanks!
You're submitting a BUG
Are you using the latest release (older versions are NOT supported)?
Yes
Are you facing the bug with your local copy of GrapesJS or with the current demo?
Latest version available 0.14.61.
What is the expected behavior?
Components defined by type in droppable selector, would detect and allow only specified types to be dropped.
What happens instead?
Component is no longer recognized and can't be dropped into said component.
If you're able to reproduce the bug indicate all the necessary steps
1. Create two components and blocks.
One component has the droppable attribute selector, e.g.: droppable: ['[data-gjs-type="test-drop"]'] and the other would be the component we want to drag and drop inside the first one.
Hi, since the latest version, I noticed that when I use the droppable query selector using
[data-gjs-type="my-component-type"]
no longer seems to work.I have added two codesandbox demos to show you the issue.
I am not able to figure out what changed.
Hope it helps, thanks!
You're submitting a BUG
Yes
Latest version available 0.14.61.
Components defined by type in droppable selector, would detect and allow only specified types to be dropped.
Component is no longer recognized and can't be dropped into said component.
1. Create two components and blocks.
droppable: ['[data-gjs-type="test-drop"]']
and the other would be the component we want to drag and drop inside the first one.1. Version that works with the previous release - 0.14.57
2. Version that doesn't work with the latest release - 0.14.61
To test the issue, just drag and drop the
TEST
block in the canvas,and then try to drag and drop the
TEST DROP
block onto theTEST
component.The text was updated successfully, but these errors were encountered: