fabric.js/DOM positioning
Unanswered
Philippine Crocodile posted this in #help-forum
Philippine CrocodileOP
hi all-i'm building a website that allows users to edit their svg images on fabric js and copy those details and regenerate it on another page. right now, the images aren't positioned properly in the generate page and i'm not sure how to fix it. i'm getting the x and y coordinates from the editor using .left/.top properties of the fabric object on the editor page and re-render the final graphic on the generate page in this link: https://pastebin.com/MvLLhd1J. since i'm dealing with fabric objects in the editor and directly editing the DOM in the generate page, i might be facing issues. any advice/direction would be greatly appreciated. thanks!
1 Reply
Philippine CrocodileOP
any thoughts on this?