RamonSmit / Nestable2

New pickup of Nestable!
Other
322 stars 147 forks source link

Provide user feedback when trying to drop in a prohibited placeholder #115

Open aximuseng opened 3 years ago

aximuseng commented 3 years ago

For some more background:

https://stackoverflow.com/questions/64436263/jquery-nestable2-adding-placeholder-css-feedback

I already have a beforeDragStop call that does the logic to allow / dis-allow the dropping of an element in the placeholder. I want to now change the CSS of the placeholder also (to red etc) for user feedback.

I can't seem to find in the code where adding the placeholder to the DOM is clearly triggered. If I knew that I think I could easily add this.