I'm trying to insert an image in a canvas and after that I want to insert an input text in the same canvas, but I can't do it. How can I fix this problem?

Now, I want that the user insert a draggable text in the actual canvas. The people say that using [Fabric.js](http://fabricjs.com/) is easy, but I can't get it working:

```
canvas = document.getElementById("canvasThumbResult");
var context = canvas.getContext("2d");
var img = document.getElementById("target");
context.drawImage(img, getX, getY, getWidth, getHeight, 0, 0, 238.11023622,332.598425197);

```