backdrop-contrib / paragraphs

Paragraphs module to control your content flow
https://backdropcms.org/project/paragraphs
GNU General Public License v2.0
5 stars 11 forks source link

Nested drag & drop functionality for a paragraph field #176

Open herbdool opened 6 months ago

herbdool commented 6 months ago

This might be complicated. I like the D9+ feature of a "Drag & Drop" widget. It appears in the menu to the right of the paragraphs field - I think only the top level paragraph field in case there are nested ones.

The feature provides a more compact, stripped-down, and functional drag and drop then the regular drag and drop. And most importantly it allows someone to drag a child paragraph to another parent paragraph. Fancy. And complicated. It needs to know what children paragraph types are allowed for each parent.

2024-03-20 13 21 04 www example com 0ccba01b5ed3

laryn commented 6 months ago

This could be interesting but yes, complicated.

I am trying to find time to get back to work on a paragraphs/layouts implementation that gets at some of the drag and drop rearranging, but probably not between nested paragraphs.

laryn commented 4 months ago

I am open to this, though. And if we get something like this, perhaps the front end modal administration can use it, too, for the "sort" action.