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
I have background image and then i add some objects on canavs, and start doing undo it also undo the backgound image. but want to keep background image. so is there any option to exclude an object saving into history?
The text was updated successfully, but these errors were encountered:
Paste it into your project (in my case: I created CustomFabricClass.js with this code and imported it the React component where I'm using it);
Make your feature by modyfing code which you pasted ⭐
This library just adds special methods to fabric.Canvas. Since you want to filter object saving - you can implement it by modyfing fabric.Canvas.prototype._historySaveAction
I have background image and then i add some objects on canavs, and start doing
undo
it also undo the backgound image. but want to keep background image. so is there any option to exclude an object saving into history?The text was updated successfully, but these errors were encountered: