neos / neos-ui

Neos CMS UI written in ReactJS with Immutable data structures.
GNU General Public License v3.0
265 stars 135 forks source link

Drag-n-Drop in content canvas #1147

Open dimaip opened 7 years ago

dimaip commented 7 years ago

The simplest implementation could be just to add move handle to the inline toolbar and drop targets to before and after elements in CCs. Should work exactly as it does in the tree. The smooth scrolling would be done with the plugin that we use in the tree. We can even make draging work from the tree into inline and vice versa.

@aertmann had an idea back in the ages to show a map of zoomed-out view of all elements on the page on drag. But this would be ofc way harder to implement, and I'm not even sure it would be beneficial, since with a good smooth scroll in place it should be no problem to move elements all over the page.

UX tasks: design the look of the drag handle and of drop targets.

mhsdesign commented 5 months ago

someone actually implemented a wip idea here in slack: https://neos-project.slack.com/archives/C0U0KEGDQ/p1711020584197129