Closed davidanquetin closed 2 weeks ago
Checkout the readme.
You should preventDefault and call commit
yourself. That will return a record with the data you need. Then remove the paths from the object's clip path.
Thanks ! I will check this documentation, which is unfortunately not clearly mentioned anywhere ..
ok, my error was to not call canvas.renderAll() after deleting the target clipPath ! Thanks
Hello I am searching how to do an Undo on an Eraser action ?
I tried
but it seems not to be the good method. Is the path of Eraser similar to another canvas object ? It seems not to be in
canvas.getObjects()
?..thanks in advance