react16.13.10.20.10Hi Daybrush
First of all kudos to your team. I just want to check with you. Do we have undo & redo , copy & paste features support in library. If not any plans or suggestions that could be helpful for us.
Thanks, Prasanth
@prasanthLalapeta
It looks like an external function. Is there any reason to do that in moveable?
@daybrush
Yes. If we are using moveable package in UI designing tool. Wherein actions like dragging, resizing, scaling and multi selection are involved.
It actually requires actions like undo , redo , copy and paste on elements.
It will be good if there is scope for above events in our package itself like we have resize, drag events etc., because almost every product which performs dragging, resizing etc., obviously they need undo, redo, copy & paste features too :)
In tella.tv we do this in our data structure (https://github.com/automerge/automerge), it natively has undo/redo and we implement copy and paste ourselves as well. Not sure how it would work in moveable, since it's only the dragging etc part, not the data layer? But for sure interesting :)
@prasanthLalapeta @happylinks
https://daybrush.com/moveable/
in demo, the history function was implemented.
But this feature doesn't have to be in moveable.
Most helpful comment
@prasanthLalapeta @happylinks
https://daybrush.com/moveable/
in demo, the history function was implemented.
But this feature doesn't have to be in moveable.
https://github.com/daybrush/scena/blob/master/packages/react-editor/src/Editor/Viewport/MoveableMananger.tsx#L157-L200