You want to use:
canvas.setActiveObject(canvas.item(0));
In the buttons click event
The number corresponds to the order in which the object was added to the canvas.
See here:
You want to use:
canvas.setActiveObject(canvas.item(0));
In the buttons click event
The number corresponds to the order in which the object was added to the canvas.
See here: