Open magicspon opened 10 months ago
Love it
Hi @magicspon. Sorry for the late reply. Thanks for the feature request! On the one hand I doubt if this should be part of the scope of this package because the plugin reflects a page tree structure where order might not be so relevant, but on the other hand I can imagine this would help content editors to organize it further.
I'm not sure how we would implement this without creating drafts all the time, because I would think we need to persist the order on the document in the data store. Did you have any ideas how to achieve this?
How about a button to apply the new order/hierarchy
So you drag and drop the elements, then hit a button to apply the changes in one go rather than creating drafts
Something like this would be absolutely belting!
I wouldn't mind having a go at this myself. Any thoughts?
https://master--5fc05e08a4a65d0021ae0bf2.chromatic.com/?path=/story/examples-tree-sortable--collapsible