FabricJS - Preserve events on saving / getting canvas from JSON
问题 Is there a way to "preserve" events when saving canvas to JSON and then get them bonded back on loadFromJSON In the link below I've created an element redBox and bonded an event "moving" on it. After "restoring" canvas from JSON that event no longer available and it makes sense why... The problem is, based on requirements, I have no idea what element could be in the JSON and what event was previously applied to it. Basically, I need dynamically apply all possible events on that particular