title: How to remove fabric.js object with custom id?
body: <p>I have created a fabric.js canvas editor with some images and texts. but I want to track added images or texts. That's why I provide myId when added this object. But how to remove the object with this custom id?</p>
  
  <p>Here is my code for adding a text</p>
  
  <pre><code>var text = new fabric.Text(txt, { left: 30, top: 0, fill: "#"+col , fontFamily: family, id:MyID });
  canvas.setActiveObject(text);
  canvas.add(text);  
  </code></pre>
  
  <p>Here <strong>myID</strong> is my custom id</p>
  
  <p>But how to remove this text by using this myID ?
  I have tried </p>
  
  <pre><code>canvas.remove(get_myID); //where get_myID is provided id by code
  </code></pre>
  
  <p>but it does not work. Please help.</p>