Fabric js : fabric js drawing mode and selection mode options
问题 I'm using fabric js to develop a application to draw a line, Rectangle and circle in one canvas.And there is a other function to drag and drop a image on to canvas. But when i added drag and drop function to the application other three function are not working. I have found this article. But i was unable to integrate it with my one. function initCanvas() { $('.canvas-container').each(function (index) { var canvasContainer = $(this)[0]; var canvasObject = $("canvas", this)[0]; var url = $(this