Issue #713πŸ’¬ AnsweredOpened January 5, 2018by austinbiggs0 reactions

Restrict Droppable Components to specific Component Types

Quick answerby austinbiggs

This already works as detailed above, I just had an error in my code originally preventing it from working correctly!

Read full answer below ↓

Question

So the wording of this may seem confusing, but essentially I'm trying to use gjs-droppable="" the same way one would use gjs-draggable="".

So if gjs-droppable="li.feature" was set on <ul>, then only items matching the selector could be dropped within the <ul>.

Answers (2)

austinbiggsβ€’ January 5, 2018

This already works as detailed above, I just had an error in my code originally preventing it from working correctly!

lock[bot]β€’ September 18, 2019

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.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins β†’
Premium option

Premium plugins ship with support, regular updates, and production-ready features β€” save days of integration work.

Browse premium plugins β†’

Related tutorials

In-depth guides on the same topic.

All tutorials β†’

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.