react-page-maker icon indicating copy to clipboard operation
react-page-maker copied to clipboard

not an issue more of a feature request for UNDO and REDO,tried it , didint work out

Open el0911 opened this issue 5 years ago • 3 comments

el0911 avatar Mar 09 '20 18:03 el0911

this feature will be covered under #8

keermanish avatar Mar 22 '20 17:03 keermanish

well incase u need inspiration i kinda just saved previous states of the canvas into memory and basically created a stack, when i call the undo command i just step back in the array and vice versa for redo, i wanted to use this json patch stuff for it, so i just store differences in the array but, it was messy, so i just stored the array as is, where i had issues with implementing it was updating the canvas when the state was updated, cuz basically my version of the library as been edited alot, speaking of which https://appscript.netlify.com/signup thats what we have out now, although we are adding changes before we launch beta.

el0911 avatar Mar 28 '20 20:03 el0911

I did it using you page maker. Using redux history.

hosnyben avatar Jul 09 '20 16:07 hosnyben