How to add custom content in fabric.Image()
问题 I am trying to use the following suggested way to store canvas in the server: Fabric.js - how to save canvas on server with custom attributes But in my case, I am loading an image from a url like: fabric.Image.fromURL(url, function(image) { image.alt = product.skuId; image.productClass = product.productClass; canvas.add(image); }, { crossOrigin: "Annoymous" }); But when I try to store the same in the db the newer attributes are not stored. Is there a way to store custom attribute (or even