Revisions for "Add Keyboard Shortcuts to Undo & Redo Functionality with Fabric.JS Canvas"

Adding Keyboard Functions to Undo/Redo Functionality on Fabric.JS

I've got a small app with Undo and Redo functionality. I'd like to be able to use my keyboard, if possible perhaps CMD+Z for undo and CMD+SHIFT+Z for Redo (if there would be something you think simpler, I'm open to that too).

Here is the Fiddle (Kudos to Wuddrum for the OG answer that led to this): https://jsfiddle.net/Wuddrum/tv29xfkg/

Please let me know if I can provide more info that'll lead to a solution. Thank you.

Add Keyboard Shortcuts to Undo & Redo Functionality with Fabric.JS Canvas
In my small app (kudos Wuddrum for OG answer which led to this) I've gotam a small app with Undo and Redo functionality. I'd like to be able to useUndo my keyboard, if possible perhaps CMD+Z for undo and Redo changes to a canvas. I'd like to add keyboard shortcuts, for example CMD+SHIFT+Z for Redo (if there would be something you think simpler, I'm open to Undo and CMD+Shift+Z to Redo. I'm open to what simpler shortcuts you may think of. Here is the JSFiddle: https://jsfiddle.net/Wuddrum/tv29xfkg/ Please let me know if I can provide more info that too). Here is the Fiddle (Kudos to Wuddrum for the OG answer that led to this): https://jsfiddle.net/Wuddrum/tv29xfkg/ Please let me know if I can provide more info that'll lead to a solution. Thank you..
Add Keyboard Shortcuts to Undo & Redo Functionality with Fabric.JS Canvas
In my small app (kudos Wuddrum for OG answer which led to this) I am able to Undo and Redo changes to a canvas. I'd like to add keyboard shortcuts, for example CMD+Z to Undo and CMD+Shift+Z to Redo. I'm open to what simpler shortcuts you may think of. Here is the JSFiddle: https://jsfiddle.net/Wuddrum/tv29xfkg/ Please lethave the functionality work with the JSFiddle. Let me know if I can provide more info that'll lead to a solution. Thank you.
Back to question