Closed vasanth-confetto closed 3 years ago
How do you use polotno from NodeJS? Do you use https://github.com/polotno-project/polotno-node? Or something different?
HI Anton, I am using polotno-node, but it turns out I wasn't actually not using replaceColor of polotno-node. But i'm still facing issues with SVG color replace on server side. Can you help me find out what's the issue below?
See attached zip file.
On Mon, May 3, 2021 at 9:53 PM Anton Lavrenov @.***> wrote:
How do you use polotno from NodeJS? Do you use https://github.com/polotno-project/polotno-node? Or something different?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/polotno-project/polotno-board/issues/12#issuecomment-831273926, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATF3N7JSWQB2XUW3K55JQL3TL2TELANCNFSM44AABXZQ .
That is a bug in the polotno. I am going to work on it.
Should be fixed with the last polotno-node
release.
Hi Anton, Was trying this call serverside on NodeJS, and received an error that the method is not defined.
svgElement.replaceColor(oldColor, newColor)#