Closed creativefull closed 5 years ago
how to remove curvedText object ?
i use canvas.getActiveObject().remove() in another object is working , but if i use this code in curvedText not working , why ? help me :)
canvas.getActiveObject().remove()
You can use following instead:
var obj = canvas.getActiveObject(); if(obj) canvas.remove(obj);
var obj = canvas.getActiveObject();
if(obj) canvas.remove(obj);
how to remove curvedText object ?
i use
canvas.getActiveObject().remove()
in another object is working , but if i use this code in curvedText not working , why ? help me :)