You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And it's not serialized in the canvas.toJSON(["customattribute"]) methode.
If i move my custom attribute, on the canvas it's work fine.
I checked on the code source and it seems that the "propertiesToInclude" array is ok on the image class.
PS : If i display my custom attribute in the console with "canvas.imageBackground.get('customattribe')" it's showing the right value.
any idear ? it seems to be a bug
Thank you for your help. and keep up the good work. this library is amazing
The text was updated successfully, but these errors were encountered:
Hi,
I am using the v1.6.3 of the library.
I have added a custom attribute on the backgroundImage using something like ::
canvas.setBackgroundImage('http://cssdeck.com/uploads/media/items/4/4OIJyak.png', canvas.renderAll.bind(canvas), {left:100, customattribute:"TEST1"});
And it's not serialized in the canvas.toJSON(["customattribute"]) methode.
If i move my custom attribute, on the canvas it's work fine.
I checked on the code source and it seems that the "propertiesToInclude" array is ok on the image class.
PS : If i display my custom attribute in the console with "canvas.imageBackground.get('customattribe')" it's showing the right value.
any idear ? it seems to be a bug
Thank you for your help. and keep up the good work. this library is amazing
The text was updated successfully, but these errors were encountered: