core
core copied to clipboard
feat(edit page v2): Allow users to move contentlet between containers #27674
Proposed Changes
- Make changes in react to send the contentlet
contentType
to the editor - Add button to start drag on contentlet tools
- Refactor of how we hide the contentlet tools in order to listen to drag end event
- Make changes in types to adapt the current drag and drop to the new move feature
- Make changes in the
onPlaceItem
method to move contentlet from containers or positions - Create and delete drag element as a visual representation of the object to drag
Screenshots
https://github.com/dotCMS/core/assets/63567962/9178692d-8af6-4b21-9be3-540d0c14cd5c
Tests are missing but you can CR meanwhile.
Leaving in draft while I address feedback.
Quality Gate passed
Issues
0 New issues
0 Fixed issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code